Running Bi and CPAI VMs

Hans007

Young grasshopper
Nov 21, 2016
75
17
So i managed to get CPAI up and running using Ubuntu 24.04 instead of Debian 12.
But the issue that i have is that eventho CPAI now sees and uses the GPU for Object Detection (YOLOv5 6.2) no triggers are sent from BI
And when i look at BI it says that GPU is used eventho non of the feeds are set to use GPU
1755115323995.png
1755115347172.png

did a manual "trigger now" from BI and it just cancels the trigger without even sending it to CPAI and even tried restarting both VMs
1755115455811.png
 
I believe that most people are likely running both servers on the same windows machine; either on an actual PC or on a single VM running windows, eventually somebody may answer!
 
Any idea or suggestions?
Try making sure the firewall on both the Windows machine or VM and the Ubuntu machine running CPAI allow port 32168 in both directions.
Clicking the BI Settings/AI/Open AI Dashboard should open the main CPAI page on the Ubuntu machine.
On the CPAI dashboard, clicking the blue CodeProjectAIExplorer button at the top of the window will allow you to pass an image to various types of detection to tell you if CPAI itself is working.
If necessary, you can copy some images from the Blue Iris machine to test it.
If you get no results, typically we would uninstall and reinstall the CPAI application.
I've done this, but to be honest, running CPAI on the Blue Iris machine is just easier.
Before the CPAI project separated from Code Project, their web page had a great deal of information.
Not so much any more.
But for me, 2.9.5 has been rock solid on Windows.(Until the inference number reaches about one million.)
Btw, I alert on cars also, just to make sure it's working.
Firewall is important!


Sent from my iPlay_50 using Tapatalk
 
So i managed to get CPAI up and running using Ubuntu 24.04 instead of Debian 12.
But the issue that i have is that eventho CPAI now sees and uses the GPU for Object Detection (YOLOv5 6.2) no triggers are sent from BI
And when i look at BI it says that GPU is used eventho non of the feeds are set to use GPU
View attachment 226487
View attachment 226488

did a manual "trigger now" from BI and it just cancels the trigger without even sending it to CPAI and even tried restarting both VMs
View attachment 226489
A thought...
Do you have Blue Iris camera(s) configured to trigger and record?
Then once you are triggering and recording in Blue Iris, you need to configure AI for the camera.
Once you get Blue Iris triggering consistently, you can check CPAI.
From what you posted of the CPAI home page, you are not reviewing anything from Blue Iris.
That would indicate to me either wrong IP address/port or firewall.
Again, get Blue Iris to trigger and record. That way you can test communication to CPAI on Ubuntu.
(I use cars).
You could actually set Blue Iris to trigger every 30 seconds or a minute.
Trying to figure this out just by triggering manually is tough.

Sent from my iPlay_50 using Tapatalk
 
A thought...
Do you have Blue Iris camera(s) configured to trigger and record?
Then once you are triggering and recording in Blue Iris, you need to configure AI for the camera.
Once you get Blue Iris triggering consistently, you can check CPAI.
From what you posted of the CPAI home page, you are not reviewing anything from Blue Iris.
That would indicate to me either wrong IP address/port or firewall.
Again, get Blue Iris to trigger and record. That way you can test communication to CPAI on Ubuntu.
(I use cars).
You could actually set Blue Iris to trigger every 30 seconds or a minute.
Trying to figure this out just by triggering manually is tough.

Sent from my iPlay_50 using Tapatalk
receiving


Sent from my iPlay_50 using Tapatalk