|
Afternoon Chris.
I am experiencing the same as Wade. I am trying to use the .NET as I am using an intel iGPU which uses GPUML. However I am getting the same “in queue” error as wade with no returned results. I haven’t tried the v6.2 but will. Also there are no uninstall options for the pre-installed modules when you first do the install from the installer it’s just a blank space. I can’t see how to attach a screenshot that I have taken.
|
|
|
|
|
To attach a screenshot just drag and drop or paste it directly into the message field when creating a post

cheers
Chris Maunder
|
|
|
|
|
|
Evening Chris. I know y’all have been working frantically to get this back up and running and I appreciate all of your guys hard work.
Just wanted to update you on the situation when I got home. I went into windows services and restarted the CPAi service and then was able to see and uninstall all 3 of the modules. I then installed the .NET module and it’s working like a charm. I’ll update if there are any issues. I was running 2.0.8 for the longest because that seemed to give the least amount of nothing found errors in the BI log. If this holds up over the next day or so I’ll update you on any progress.
|
|
|
|
|
Excellent - thanks for the update
cheers
Chris Maunder
|
|
|
|
|
Everything seems to be working so far when CPAi is running on windows. However I'm getting a few nothing found messages in the logs of Blue Iris with the times at sometimes over 2000ms. Im running the custom models with just ipcam-general and ipcam-dark with detection times in CPAi around 150-300 running GPU ML.
I tried to check out the docker version of CPAI 2.2.4 and when I change BI over to use the docker version the detection times are 0ms and it doesnt return anything into BI. Attached are some pics. Let me know what other information you might need from me so this might help others. BTW these are both using the .NET version.
 
|
|
|
|
|
Chris, thanks for the reply, before I saw your reply I decided to uninstall 2.2.4 and reboot and then re-install. After that everything seems to be back up and running. It seems like my notifications might be fewer than before but I am receiving some so there may be some tweaks I need to make. But CodeProject and BI are not working together again.
|
|
|
|
|
It wasn't them, it was us.
We had a regression in our code that re-instated chunked encoding and this was stopping Blue Iris from being able to process the return data correctly. We've (re)implemented the fix and have released 2.2.4.
cheers
Chris Maunder
|
|
|
|
|
Sorry Chris;
1: What issue does this solve?
2: Could you translate this to non-programmer? (We had a regression in our code that re-instated chunked encoding and this was stopping Blue Iris from being able to process the return data correctly.)
Does this indicate bad version control? (I've seen that before unfortunately.)
Thanks
|
|
|
|
|
Sorry mate. I've had my head in a compiler for about 48hrs straight
Basically, Blue Iris could no longer process the responses from CodeProject.AI. We had fixed this issue last year, but it popped back up due to a small change while cleaning up some code. Blue Iris started reporting that CodeProject.AI was sending badly formed data, but from where we sat, everything looked great.
Ken @ Blue Iris debugged his end and pointed us to the issue. He could work around it his end, but we wanted to fix it properly our end.
So: Blue Iris couldn't understand CodeProject.AI. We thought it was Blue Iris. It was us. we fixed the problem. We're now just counting down until we can reasonably say it's beer o'clock.
cheers
Chris Maunder
|
|
|
|
|
Hey Chris,
Thanks so much for being so responsive around this project. It's really incredible how quickly you get back to just about every post! I can confirm as well that using 2.4.4/BI 5.7.9.12/Win10 allows for what appears to be a flawless CPAI install. Modules install fine (I use Coral) with zero errors or warnings across the board, and the dashboard comes up fine as well. I did note that BI no longer "sees" CPAI, e.g. the Update screen gives me an option to Install CodeProject.AI. I thought I noticed someone else recently suggesting a registry change had to be made, but wanted to check-in here. Anything required to get BI to see CPAI? In the AI tab, I'm currently using Use AI Server on port.. of course. And then auto start/stop with Blue Iris: CodeProject.AI Service (which is running). All good and ignore the splash screen, or do something else? . Thanks!
|
|
|
|
|
Thanks for the kind words.
Blue Iris is looking for the service named "CodeProject.AI Server", which is what CodeProject.AI Server 2.2.4 installs as in the Services list. Just check that your installation shows this in the Services applet for CodeProject.AI:

We tested with Blue Iris today and all was working well for us. If you're still seeing an issue I'll contact Ken @ Blue Iris and see what needs tweaking.
A workaround if Blue Iris can't "see" CodeProject is to just keep CodeProject.AI running as a service and turn off start/stop in Blue Iris. CodeProject will be running constantly, but unless it's getting data to process it shouldn't be taking up much CPU time
cheers
Chris Maunder
|
|
|
|
|
I agree, the support from these guys is top notch, working long hours over the weekend. It is greatly appreciated. And I am a new guy! Still learning the ropes of all this. Just currently using the .NET ver of YOLO and all seems to be working. I do have lots to learn. I do have a Coral, just one. But have about 16+ Cams so didn't know if I would benefit from it. Would def like some advice on that from another Coral user. Currently running on an Intel i7-8700 and it seems to do well so far. Didn't know if I would benefit putting some NVIDIA cards in or not. Or even try the Coral. So whatever advice you guys got is great and I will start playing with it. Just want the best setup I can.
Thanks again CPAI Team for all your efforts.
|
|
|
|
|
> He could work around it his end..
It should be pointed out that due to blue iris questionable licensing model whereby you do not receive maintenance bug fixes without paying a subscription this is not a viable option.
|
|
|
|
|
Thanks for all the hard work over the weekend to address the 403 and Non-JSON issues that cropped up in 2.1!
|
|
|
|
|
Was this also an issue in the docker version? If so, will that be resolved soon?
I ran 2.2 in docker but never got any AI confirmations. I didnt check blueiris log to see if it had that JSON error my windows installs had
|
|
|
|
|
It is and it will be. Fixing now.
cheers
Chris Maunder
|
|
|
|
|
Have you guys considered releasing a beta version for a couple weeks before pointing all downloads to a new untested version like you have been doing? Let us run the beta for a couple weeks to work this stuff out so you guys aren’t left scrambling over a weekend.
|
|
|
|
|
Quoting Chris,”What would be the fun in that?”
"Mistakes are prevented by Experience. Experience is gained by making mistakes."
|
|
|
|
|
We did do a small group test but clearly we need to revamp that process. We all missed a blindingly obvious bug and that shouldn't happen.
cheers
Chris Maunder
|
|
|
|
|
What a fun day -
I expected to report my findings this morning but woke up to issues with my NVR and a corrupt Blue Iris DB. I'm finally back up and running and can report that everything is working as expected.
Object Detection (YOLOv5 6.2) 1.6.1
License Plate Reader 2.6
Face Processing 1.7
Modules are running and BI is back to understanding the AI response.
Thanks again, Chris.
|
|
|
|
|
As of yesterday, I've been unable to download from the Codeproject servers. It began with trying to download an update to YOLOv5 .NET (server log follows):
15:14:08:Operating System: Windows (Microsoft Windows 11 version 10.0.22621)
15:14:08:CPUs: 12th Gen Intel(R) Core(TM) i5-1235U (Intel)
15:14:08: 1 CPU x 10 cores. 12 logical processors (x64)
15:14:08:GPU: Microsoft Remote Display Adapter (Microsoft)
15:14:08: Driver: 10.0.22621.2070
15:14:08:System RAM: 16 GiB
15:14:08:Target: Windows
15:14:08:BuildConfig: Release
15:14:08:Execution Env: Native
15:14:08:Runtime Env: Production
15:14:08:.NET framework: .NET 7.0.11
15:14:08:App DataDir: C:\ProgramData\CodeProject\AI
15:14:08:Video adapter info:
15:14:08: Microsoft Remote Display Adapter:
15:14:08: Driver Version 10.0.22621.2070
15:14:08: Video Processor
15:14:08: Intel(R) Iris(R) Xe Graphics:
15:14:08: Driver Version 31.0.101.4824
15:14:08: Video Processor Intel(R) Iris(R) Xe Graphics Family
15:14:08:ROOT_PATH = C:\Program Files\CodeProject\AI
15:14:08:RUNTIMES_PATH = C:\Program Files\CodeProject\AI\runtimes
15:14:08:PREINSTALLED_MODULES_PATH = C:\Program Files\CodeProject\AI\preinstalled-modules
15:14:08:MODULES_PATH = C:\Program Files\CodeProject\AI\modules
15:14:08:PYTHON_PATH = \bin\windows\%PYTHON_RUNTIME%\venv\scripts\Python
15:14:08:Data Dir = C:\ProgramData\CodeProject\AI
15:14:08:Server version: 2.1.11-Beta
15:14:13:Server: This is the latest version
15:14:41:Preparing to install module 'ObjectDetectionNet'
15:14:41:Downloading module 'ObjectDetectionNet'
15:14:41:Installing module 'ObjectDetectionNet'
15:14:41:ObjectDetectionNet: Installing CodeProject.AI Analysis Module
15:14:41:ObjectDetectionNet: ========================================================================
15:14:42:ObjectDetectionNet: CodeProject.AI Installer
15:14:42:ObjectDetectionNet: ========================================================================
15:14:42:ObjectDetectionNet: Checking GPU support
15:14:42:ObjectDetectionNet: CUDA Present...False
15:14:42:ObjectDetectionNet: Allowing GPU Support: Yes
15:14:42:ObjectDetectionNet: Allowing CUDA Support: No
15:14:42:ObjectDetectionNet: General CodeProject.AI setup
15:14:42:ObjectDetectionNet: Creating Directories...Done
15:14:42:ObjectDetectionNet: Installing module ObjectDetectionNet
15:14:44:ObjectDetectionNet: Start-BitsTransfer : HTTP status 403: The client does not have sufficient access rights to the requested server object.
15:14:44:ObjectDetectionNet: At line:1 char:1
15:14:44:ObjectDetectionNet: + Start-BitsTransfer -Source 'https://codeproject-ai.s3.ca-central-1.am ...
15:14:44:ObjectDetectionNet: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15:14:44:ObjectDetectionNet: + CategoryInfo : InvalidOperation: (:) [Start-BitsTransfer], Exception
15:14:44:ObjectDetectionNet: + FullyQualifiedErrorId : StartBitsTransferCOMException,Microsoft.BackgroundIntelligentTransfer.Management.NewBits
15:14:44:ObjectDetectionNet: TransferCommand
15:14:44:ObjectDetectionNet: Downloading ObjectDetectionNet module...An error occurred that could not be resolved.
15:18:41:ObjectDetectionNet: Downloading YOLO ONNX models...Expanding...Done.
15:20:37:ObjectDetectionNet: Downloading Custom YOLO ONNX models...Expanding...Done.
15:20:37:ObjectDetectionNet: Module setup complete
15:20:37:Module ObjectDetectionNet installed successfully.
15:20:37:Module ObjectDetectionNet not configured to AutoStart.
15:20:37:Installer exited with code 0
15:20:37:Unknown response from server
15:21:08:Unknown response from serverInfo
15:30:03:
15:30:03:Module 'Object Detection (YOLOv5 .NET)' (ID: ObjectDetectionNet)
15:30:03:Module Path: C:\Program Files\CodeProject\AI\modules\ObjectDetectionNet
15:30:03:AutoStart: True
15:30:03:Queue: objectdetection_queue
15:30:03:Platforms: windows,linux,linux-arm64,macos,macos-arm64
15:30:03:GPU: Support enabled
15:30:03:Parallelism: 0
15:30:03:Accelerator:
15:30:03:Half Precis.: enable
15:30:03:Runtime: execute
15:30:03:Runtime Loc: Shared
15:30:03:FilePath: ObjectDetectionNet.exe
15:30:03:Pre installed: False
15:30:03:Start pause: 1 sec
15:30:03:LogVerbosity:
15:30:03:Valid: True
15:30:03:Environment Variables
15:30:03:CUSTOM_MODELS_DIR = %CURRENT_MODULE_PATH%\custom-models
15:30:03:MODELS_DIR = %CURRENT_MODULE_PATH%\assets
15:30:03:MODEL_SIZE = MEDIUM
15:30:03:
15:30:03:Error trying to start Object Detection (YOLOv5 .NET) (ObjectDetectionNet.exe)
15:30:03:An error occurred trying to start process 'C:\Program Files\CodeProject\AI\modules\ObjectDetectionNet\ObjectDetectionNet.exe' with working directory 'C:\Program Files\CodeProject\AI\modules\ObjectDetectionNet'. The system cannot find the file specified.
15:30:03: at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at CodeProject.AI.API.Server.Frontend.ModuleProcessServices.StartProcess(ModuleConfig module)
15:30:03:Please check the CodeProject.AI installation completed successfully
..and continued this morning when I tried a clean installation:
06:29:50:Operating System: Windows (Microsoft Windows 11 version 10.0.22621)
06:29:50:CPUs: 12th Gen Intel(R) Core(TM) i5-1235U (Intel)
06:29:50: 1 CPU x 10 cores. 12 logical processors (x64)
06:29:50:GPU: Microsoft Remote Display Adapter (Microsoft)
06:29:50: Driver: 10.0.22621.2070
06:29:50:System RAM: 16 GiB
06:29:50:Target: Windows
06:29:50:BuildConfig: Release
06:29:50:Execution Env: Native
06:29:50:Runtime Env: Production
06:29:50:.NET framework: .NET 7.0.11
06:29:50:App DataDir: C:\ProgramData\CodeProject\AI
06:29:50:Video adapter info:
06:29:50: Microsoft Remote Display Adapter:
06:29:50: Driver Version 10.0.22621.2070
06:29:50: Video Processor
06:29:50: Intel(R) Iris(R) Xe Graphics:
06:29:50: Driver Version 31.0.101.4824
06:29:50: Video Processor Intel(R) Iris(R) Xe Graphics Family
06:29:50:ROOT_PATH = C:\Program Files\CodeProject\AI
06:29:50:RUNTIMES_PATH = C:\Program Files\CodeProject\AI\runtimes
06:29:50:PREINSTALLED_MODULES_PATH = C:\Program Files\CodeProject\AI\preinstalled-modules
06:29:50:MODULES_PATH = C:\Program Files\CodeProject\AI\modules
06:29:50:PYTHON_PATH = \bin\windows\%PYTHON_RUNTIME%\venv\scripts\Python
06:29:50:Data Dir = C:\ProgramData\CodeProject\AI
06:29:50:Server version: 2.1.11-Beta
06:29:54:Setting up initial modules. Please be patient...
06:29:54:Installing initial module FaceProcessing.
06:29:54:Preparing to install module 'FaceProcessing'
06:29:54:Downloading module 'FaceProcessing'
06:29:55:Installing module 'FaceProcessing'
06:29:56:FaceProcessing: Installing CodeProject.AI Analysis Module
06:29:56:FaceProcessing: ========================================================================
06:29:56:FaceProcessing: CodeProject.AI Installer
06:29:56:FaceProcessing: ========================================================================
06:29:56:FaceProcessing: Checking GPU support
06:29:56:FaceProcessing: CUDA Present...False
06:29:56:FaceProcessing: Allowing GPU Support: Yes
06:29:56:FaceProcessing: Allowing CUDA Support: No
06:29:56:FaceProcessing: General CodeProject.AI setup
06:29:56:FaceProcessing: Creating Directories...Done
06:29:56:FaceProcessing: Installing module FaceProcessing
06:29:56:FaceProcessing: Installing python.= in C:\Program Files\CodeProject\AI\runtimes\bin\windows\python.=
06:29:56:Server: This is the latest version
06:29:58:FaceProcessing: Start-BitsTransfer : HTTP status 403: The client does not have sufficient access rights to the requested server object.
06:29:58:FaceProcessing: At line:1 char:1
06:29:58:FaceProcessing: + Start-BitsTransfer -Source 'https://codeproject-ai.s3.ca-central-1.am ...
06:29:58:FaceProcessing: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
06:29:58:FaceProcessing: + CategoryInfo : InvalidOperation: (:) [Start-BitsTransfer], Exception
06:29:58:FaceProcessing: + FullyQualifiedErrorId : StartBitsTransferCOMException,Microsoft.BackgroundIntelligentTransfer.Management.NewBits
06:29:58:FaceProcessing: TransferCommand
06:29:58:FaceProcessing: Downloading Python interpreter...An error occurred that could not be resolved.
06:29:58:FaceProcessing: No suitable requirements.txt file found.
06:34:47:FaceProcessing: Downloading YOLO models...Expanding...Done.
06:34:47:FaceProcessing: Module setup complete
06:34:47:Module FaceProcessing installed successfully.
06:34:47:Unable to start newly installed Module FaceProcessing.
06:34:47:Installer exited with code 0
06:34:47:Installing initial module ObjectDetectionNet.
06:34:47:Preparing to install module 'ObjectDetectionNet'
06:34:47:Downloading module 'ObjectDetectionNet'
06:34:48:Installing module 'ObjectDetectionNet'
06:34:48:ObjectDetectionNet: Installing CodeProject.AI Analysis Module
06:34:48:ObjectDetectionNet: ========================================================================
06:34:48:ObjectDetectionNet: CodeProject.AI Installer
06:34:48:ObjectDetectionNet: ========================================================================
06:34:48:ObjectDetectionNet: Checking GPU support
06:34:48:ObjectDetectionNet: CUDA Present...False
06:34:48:ObjectDetectionNet: Allowing GPU Support: Yes
06:34:48:ObjectDetectionNet: Allowing CUDA Support: No
06:34:49:ObjectDetectionNet: General CodeProject.AI setup
06:34:49:ObjectDetectionNet: Creating Directories...Done
06:34:49:ObjectDetectionNet: Installing module ObjectDetectionNet
06:34:50:ObjectDetectionNet: Start-BitsTransfer : HTTP status 403: The client does not have sufficient access rights to the requested server object.
06:34:50:ObjectDetectionNet: At line:1 char:1
06:34:50:ObjectDetectionNet: + Start-BitsTransfer -Source 'https:
06:34:50:ObjectDetectionNet: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
06:34:50:ObjectDetectionNet: + CategoryInfo : InvalidOperation: (:) [Start-BitsTransfer], Exception
06:34:50:ObjectDetectionNet: + FullyQualifiedErrorId : StartBitsTransferCOMException,Microsoft.BackgroundIntelligentTransfer.Management.NewBits
06:34:50:ObjectDetectionNet: TransferCommand
06:34:50:ObjectDetectionNet: Downloading ObjectDetectionNet module...An error occurred that could not be resolved.
06:37:06:ObjectDetectionNet: Downloading YOLO ONNX models...Expanding...Done.
|
|
|
|
|
also having the same issue, I am here looking for an answer
|
|
|
|
|
|
I would suggest updating to the version 2.2.4
cheers
Chris Maunder
|
|
|
|