I installed CodeProject AI on Windows 11 Pro to be used in conjunction with Blue Iris. After successfully installing the CodeProject AI exe file within the Zip file. I start the server via Blue Iris and navigate to the dashboard.
I receive the following debugging outputs when I attempt to install and start modules. However, the Server itself shows as Online.
19:37:40:Preparing to install module 'ObjectDetectionTFLite'
19:37:40:Downloading module 'ObjectDetectionTFLite'
19:37:40:Installing module 'ObjectDetectionTFLite'
19:37:40:ObjectDetectionTFLite: Installing CodeProject.AI Analysis Module
19:37:40:ObjectDetectionTFLite: ========================================================================
19:37:40:ObjectDetectionTFLite: CodeProject.AI Installer
19:37:40:ObjectDetectionTFLite: ========================================================================
19:37:40:ObjectDetectionTFLite: Checking GPU support
19:37:41:ObjectDetectionTFLite: CUDA Present...False
19:37:41:ObjectDetectionTFLite: Allowing GPU Support: Yes
19:37:41:ObjectDetectionTFLite: Allowing CUDA Support: No
19:37:41:ObjectDetectionTFLite: General CodeProject.AI setup
19:37:41:ObjectDetectionTFLite: Creating Directories...Done
19:37:41:ObjectDetectionTFLite: Installing module ObjectDetectionTFLite
19:37:41:ObjectDetectionTFLite: *** You need to run C:\Program Files\CodeProject\AI\modules\ObjectDetectionTFLite\install_coral.bat to complete this process
19:37:41:ObjectDetectionTFLite: Installing python39 in C:\Program Files\CodeProject\AI\runtimes\bin\windows\python39
19:37:41:ObjectDetectionTFLite: 'powershell' is not recognized as an internal or external command,
19:37:41:ObjectDetectionTFLite: operable program or batch file.
19:37:41:ObjectDetectionTFLite: Downloading Python 3.9 interpreter...An error occurred that could not be resolved.
19:37:41:ObjectDetectionTFLite: Module setup complete
19:37:41:Module ObjectDetectionTFLite installed successfully.
19:37:41:Module ObjectDetectionTFLite not configured to AutoStart.
19:37:41:Installer exited with code 1
19:37:41:Unknown response from server
19:38:03:
19:38:03:GetCommandByRuntime: Runtime=python39, Location=Local
19:38:03:Command: C:\Program Files\CodeProject\AI\modules\ObjectDetectionTFLite\bin\windows\python39\venv\scripts\Python
19:38:03:Starting C:\Program Files...ws\python39\venv\scripts\Python "C:\Program Files...ctdetection_tflite_adapter.py"
19:38:03:
19:38:03:Attempting to start ObjectDetectionTFLite with C:\Program Files\CodeProject\AI\modules\ObjectDetectionTFLite\bin\windows\python39\venv\scripts\Python "C:\Program Files\CodeProject\AI\modules\ObjectDetectionTFLite\objectdetection_tflite_adapter.py"
19:38:03:Module 'ObjectDetection (TF-Lite)' (ID: ObjectDetectionTFLite)
19:38:03:Module Path: C:\Program Files\CodeProject\AI\modules\ObjectDetectionTFLite
19:38:03:AutoStart: True
19:38:03:Queue: objectdetection_queue
19:38:03:Platforms: windows,linux,linux-arm64,macos,macos-arm64
19:38:03:GPU: Support enabled
19:38:03:Parallelism: 0
19:38:03:Accelerator:
19:38:03:Half Precis.: enable
19:38:03:Runtime: python39
19:38:03:Runtime Loc: Local
19:38:03:FilePath: objectdetection_tflite_adapter.py
19:38:03:Pre installed: False
19:38:03:Start pause: 1 sec
19:38:03:LogVerbosity:
19:38:03:Valid: True
19:38:03:Environment Variables
19:38:03:MODELS_DIR = %CURRENT_MODULE_PATH%/assets
19:38:03:MODEL_SIZE = Medium
19:38:03:
19:38:03:Error trying to start ObjectDetection (TF-Lite) (objectdetection_tflite_adapter.py)
19:38:03:An error occurred trying to start process 'C:\Program Files\CodeProject\AI\modules\ObjectDetectionTFLite\bin\windows\python39\venv\scripts\Python' with working directory 'C:\Program Files\CodeProject\AI\modules\ObjectDetectionTFLite'. The system cannot find the file specified.
19:38:03: at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) at CodeProject.AI.API.Server.Frontend.ModuleProcessServices.StartProcess(ModuleConfig module)
19:38:03:Please check the CodeProject.AI installation completed successfully
19:33:53: Preparing to install module 'ObjectDetectionNet '
19:33:53:Downloading module 'ObjectDetectionNet'
19:33:53:Installing module 'ObjectDetectionNet'
19:33:53:ObjectDetectionNet: Installing CodeProject.AI Analysis Module
19:33:53:ObjectDetectionNet: ========================================================================
19:33:53:ObjectDetectionNet: CodeProject.AI Installer
19:33:53:ObjectDetectionNet: ========================================================================
19:33:53:ObjectDetectionNet: Checking GPU support
19:33:53:ObjectDetectionNet: CUDA Present ... False
19:33:53:ObjectDetectionNet: Allowi ng GPU Support: Yes
19:33:53:ObjectDetectionNet: Allowi ng CUDA Support: No
19:33:53:ObjectDetectionNet: General CodeProject.AI setup
19:33:53:ObjectDetectionNet: Creating Directories ... Done
19:33:53:ObjectDetectionNet: Installing module ObjectDetectionNet
19:33:53:ObjectDetectionNet: 'findstr' is not recognized as an internal or external command,
19:33:53:ObjectDetectionNet: operable program or batch file.
19:33:53:ObjectDetectionNet: ' powershell ' is not recognized as an internal or external command,
19:33:53:ObjectDetectionNet: operable program or batch file.
19:33:53:ObjectDetectionNet: Downloading ObjectDetecti onNet module ... An error occurred that could not be resolved.
19:33:53:ObjectDetectionNet: 'powershell' is not recognized as an internal or external command,
19:33:53:ObjectDetectionNet: operable program or batch file.
19:33:53:ObjectDetectionNet: Downloading YOLO ONNX models ... An error occurred that could not be resolved.
19:33:53:ObjectDetectionNet: Module setup complete
19:33:53:Module ObjectDetectionNet installed successfully.
19:33:53:Module ObjectDetectionNet not configured to Autostart.
19:33:53: Installer exi ted with code 1
19:33:53:Unknown response from server
What I have tried:
I have uninstalled and reinstalled CodeProject, uninstalled and reinstalled all modules including stopped and restarted them, and I have added Powershell and Python 3.7 to the Environment Variable Path.