• DepthAI
  • Image manip node - add 1 frame latency

Greetings, I have the subsequent pipeline configuration:

Input: Control queue into -> ColorCamera for still images -> ImageManipulation -> VideoEncoder (MJPEG) -> Output queue

When I initiate the image capture process using the provided code:

dai::CameraControl ctrl;
ctrl.setCaptureStill(true);
control_queue_in->send(ctrl);

Upon the first attempt to retrieve the image from the output queue, I encounter an absence of image data. Consequently, I must execute the capture process once more, after which I successfully obtain an image, albeit with a delay of one frame. Subsequently, each new request made through CameraControl message yields an image from the previous request.

Do you know where could be a problem? Thanks

    7 days later