I've been using BI for some time, with one BI cam for main stream and a 2nd BI cam using the substream DTD. This has been working fine with CPAI, where the motion trigger and AI are done on the substream.
Now I've updated the setup to use the suggested substream method and using an Nvidia GPU for CPAI & camera video. The current setup is one BI cam for both main and substreams, BI motion detection, and CPAI. I have video set to record 'continuous + Triggers'.
The problem is that BI will log a motion_detected event, but:
a) BI log doesn't contain ANY response from CPAI. (However the CPAI log correctly shows a 'person' detected with a high confidence)
b) For triggers created by actual object motion, The clip doesn't appear in the Alerts or the Cancelled Alerts list (But the clip does appear in the Cancelled Alert list for manually initiated triggers).
c) issue (a) & (b) still exist for Video HW acceleration = Nvidia NVDEC or 'No'.
d) Using the Testing & Tuning 'Analyze with AI', CPAI correctly detects the objects that created the motion_detected event.
e) CPAI detection will detect motion & objects correctly with the original 2 cam setup (using the substream BI cam).
Any ideas?
thanks!
No AI response for dual stream cam
Re: No AI response for dual stream cam
Which of the two originally used cams did the AI work on, substream or main stream?
This may be caused by a change in which exact frames CPAI analyzes in the new setup. I recommend enabling the DAT files and reviewing the exact calls BI makes to CPAI. When I troubleshooted my CPAI failure to confirm alerts, I looked at the DAT files and saw that the timing of the analyzed images was the issue: by default, BI would send to CPAI the trigger frame, and that frame might not contain a recognizable object. Some times the motion trigger would have the object behind a bush, other times, the object would barely enter the frame and CPAI could not recognize it.
I made it work by sending multiple frames to CPAI, spaced some 0.5s apart, and CPAI started getting recognizable images, and started working.
This may be caused by a change in which exact frames CPAI analyzes in the new setup. I recommend enabling the DAT files and reviewing the exact calls BI makes to CPAI. When I troubleshooted my CPAI failure to confirm alerts, I looked at the DAT files and saw that the timing of the analyzed images was the issue: by default, BI would send to CPAI the trigger frame, and that frame might not contain a recognizable object. Some times the motion trigger would have the object behind a bush, other times, the object would barely enter the frame and CPAI could not recognize it.
I made it work by sending multiple frames to CPAI, spaced some 0.5s apart, and CPAI started getting recognizable images, and started working.
Re: No AI response for dual stream cam
I figured it out -- dumb mistake on my part. Somehow, on the Alert Tab, the Motion Zones checkbox wasn't checked.