5.5.8 - June 13, 2022 - Code Project’s SenseAI Version 1 - See V2 here https://ipcamtalk.com/threads/codeproject-ai-version-2-0.68030/

I just saw that too. Had the dog walk into the camera frame afterwards. Still only detects person.

@Pharoahs2 See screenshot below. Turn on this option for your camera and then play back a clip with your dog in it. You should see some AI detection in real-time.

Then, hold down Ctrl key when clicking on a clip for 2nd time.

turn on AI.png
 
@Pharoahs2 Glad to help. This is my way of paying it forward.

I think your other settings are fine.

Since you mentioned your PC is on an older CPU, you may want to monitor how well it handles AI detection over time, given the # of triggered events for a given time period. You can always try to leverage a supported GPU at some later point, to offload AI detection from CPU.
 
Last edited:
I generally leave the "Detect/ignore static objects" box checked with no ill effects.

Also, you can shut down all CPAI modules except YOLO for your situation, might save some resources.
 
  • Like
Reactions: sebastiantombs
Not sure if this will bring anything useful to most BI users, but CPAI just updated to 1.6.8 today.

Release notes:
Patch 1.6.8: image handling improvements on Linux, multi-thread ONNX on .NET
 
  • Like
Reactions: teejnut
I'm having trouble using CUDA on everything except portrait filter. I've been through this whole thread and tried various things that I saw with no luck. CUDA 11.7, CUDnn installed, fresh driver installs, multiple fresh installs of CP.AI
The moddulesettings.json file for YOLO looks like CUDA should be enabled but it shows as "false" in the dashboard. I'm not very experienced in this area... any ideas anyone?
 

Attachments

  • 2022-10-28 16_24_14-CodeProject.AI Server - Brave.png
    2022-10-28 16_24_14-CodeProject.AI Server - Brave.png
    77.9 KB · Views: 17
  • 2022-10-28 16_27_23-modulesettings.json - Microsoft Visual Studio.png
    2022-10-28 16_27_23-modulesettings.json - Microsoft Visual Studio.png
    123.9 KB · Views: 16
  • 2022-10-28 16_31_05-CodeProject.AI Server - Brave.png
    2022-10-28 16_31_05-CodeProject.AI Server - Brave.png
    20 KB · Views: 11
I'm having trouble using CUDA on everything except portrait filter. I've been through this whole thread and tried various things that I saw with no luck. CUDA 11.7, CUDnn installed, fresh driver installs, multiple fresh installs of CP.AI
The moddulesettings.json file for YOLO looks like CUDA should be enabled but it shows as "false" in the dashboard. I'm not very experienced in this area... any ideas anyone?

@hayzee Kinda hard to help if you don't share the graphics card you are using. Did you confirm that your graphics card is on supported list?
 
I'm having trouble using CUDA on everything except portrait filter. I've been through this whole thread and tried various things that I saw with no luck. CUDA 11.7, CUDnn installed, fresh driver installs, multiple fresh installs of CP.AI
The moddulesettings.json file for YOLO looks like CUDA should be enabled but it shows as "false" in the dashboard. I'm not very experienced in this area... any ideas anyone?
Click on the 3 dots and then click on Enable GPU

1666992872115.png
 
Sorry About that.. RTX 3090

@hayzee Lucky you. That is a high-end card. And it's supported. Odd that it doesn't work, especially since @MikeLud1 has same card.

In addition to @MikeLud1 advice above, run the following command at CMD prompt>

nvidia-smi

... and share here

See post link below for example of what nvidia-smi output looks like...
 
Last edited:
@hayzee Lucky you. That is a high-end card. And it's supported. Odd that it doesn't work, especially since @MikeLud1 has same card.

In addition to @MikeLud1 advice above, run the following command at CMD prompt>

nvidia-smi

... and share here

See post link below for example of what nvidia-smi output looks like...
I am able to cycle the portrait filter between CPU and GPU with no issues. Very strange
 

Attachments

  • 2022-10-28 17_52_16-Command Prompt.png
    2022-10-28 17_52_16-Command Prompt.png
    36.1 KB · Views: 30
After the fresh reboot, I clicked enable GPU. It stopped the service and reconnected to CPU. Log from when I clicked enable GPU attached
Didn't realize the .txt wouldn't display without you downloading it... updated with a screenshot