Can not capture trigging image

  1. Where did you get the camera module(s)?
    Ali Exp

  2. Model number of the product(s)?
    UC-852

  3. What hardware/platform were you working on?
    Linux laptop

  4. Instructions you have followed. (link/manual/etc.)

  5. Problems you were having?
    yes.

  6. The dmesg log from your hardware?

  7. Troubleshooting attempts you’ve made?

  8. What help do you need?

When I used UC-852 for trigger mode, Sometime Camera can’t capture image.

I am using the UC-852 camera in trigger mode, but there is a bug where sometimes it fails to capture an image when the trigger signal is sent. The API is using OpenCV, and when there is an error, the image is not retrieved when the ‘grab’ function is used. The camera attempts to capture at 50Hz, and the image size is 1280x720. Please provide a solution.