How long is your system taking to process the 50 images you're sending to CPAI?
As Actran
pointed out to me, if the AI is taking too long to process, you may be losing frames in the processing pipeline. The
BI manual actually covers this; I bumped up my pre-trigger record time and found things were more reliable.
If you step through individual frames of a capture for a car moving by quickly you'll be able to get an idea of how far a car can move in X amount of time. 40 post trigger images 50msec apart is 2 seconds, so 20fps that you are processing. I think it would be reasonable to increase the spacing to 100ms and lowering to 20 images.
Make sure to save the AI analysis and load them up in the AI tab of BI status to see how the analysis is going.