Main stream for CPAI object detection much better

Pentagano

Getting comfortable
Joined
Dec 11, 2020
Messages
613
Reaction score
282
Location
Uruguay
After spending much time testing my gpu with CPAI on all the settings (and camera settings) I have found that using the main stream for AI analysis (sub recording + triggers) has resulted in a far higher accurate confidence level especially in the dark.

The inference times are not that much longer either.
I have the snapshots set at 333ms intervals now (before was at 100- 250)
Inference speeds are about 90ms-150ms.
Fine for me considering the improvement in object detection.
10s trigger end after 20.
20 + real images @333ms
New trigger and retriggers selected also.
Zones

I guess it all depends on your set up, environment and hardware.

Cheers!
 

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,906
Reaction score
21,282
After spending much time testing my gpu with CPAI on all the settings (and camera settings) I have found that using the main stream for AI analysis (sub recording + triggers) has resulted in a far higher accurate confidence level especially in the dark.

The inference times are not that much longer either.
I have the snapshots set at 333ms intervals now (before was at 100- 250)
Inference speeds are about 90ms-150ms.
Fine for me considering the improvement in object detection.
10s trigger end after 20.
20 + real images @333ms
New trigger and retriggers selected also.
Zones

I guess it all depends on your set up, environment and hardware.

Cheers!
What resolution is your substream set to? Many cameras can do 1080p or 720p substreams... That way you can get the best of both worlds...
 

Pentagano

Getting comfortable
Joined
Dec 11, 2020
Messages
613
Reaction score
282
Location
Uruguay
What resolution is your substream set to? Many cameras can do 1080p or 720p substreams... That way you can get the best of both worlds...
Mains 1920x1080 2048kbps 22fps
Subs 704x576 768kbps or lower 22fps/15fps
Using the subs has always been hit or miss especially at night time with smaller objects or darker corners
 

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,906
Reaction score
21,282
Mains 1920x1080 2048kbps 22fps
Subs 704x576 768kbps or lower 22fps/15fps
If your mainstream is only 1080p then there is no benefit of increasing the substream to 1080p... But for those who have four megapixel or 4K cameras that tactic is worthwhile
 
Top