AI code project using cpu

If it is going to AI for analysis, that is considered a trigger - whether it alerts or not is different.

The process is it triggers and is sent to AI for analysis and then based on rhe analysis it is either terminated there if nothing found or sends and alert if it met the criteria.

Are you saying it could send 50 events (triggers) to AI and if nothing found the CPU is staying low, but the one event that finds something and sends an alert is when the CPU spikes?
 
Hi,

I've attached 3 images of my setup, I have 24 cameras, two 4k, others down to HD/5MP. My aim was to have the camera send onvif motion detection to blue iris and then an rtx 3070 to handle the ai detection. The two 4k cameras I want to do motion detection on are triggering via onvif but each time it does my cpu spikes to 100% and some cameras get bottleneck/fps errors which I guess is simply the cpu not being able to keep up. When no cameras are triggered the cpu is running around 30%. Continuous record is on for all cameras, and live view is using sub streams for most. Only reason I can see the cpu would spike is the switch to main stream on triggering, but if I run the camera permenantly on main stream the cpu only goes up 5-10% so I cant see that being the issue either.

Everything is gigabit switches mostly all down a single Cat5E cable, continuous recording is on so I assume main streams are always being recorded and its just the live view im seeing the sub stream.

Any support would be appreciated
Which processor exactly is in your server right now? Because twenty-four cameras require a really powerful chip.