Hi,
I'm using a simple pipeline to capture MJPEG-encoded still frames like this:
q_ctrl = device.getInputQueue(name="control", maxSize=4, blocking=False)
ctrl_capture = dai.CameraControl().setCaptureStill(True)
q_ctrl.send(ctrl_capture)
There is a CameraControl.CaptureIntent class, which makes it possible to e.g. set STILL_CAPTURE
as intent. I tried to run this together with the capture command like this:
q_ctrl = device.getInputQueue(name="control", maxSize=4, blocking=False)
ctrl_intent = dai.CameraControl().setCaptureIntent(dai.CameraControl.CaptureIntent.STILL_CAPTURE)
ctrl_capture = dai.CameraControl().setCaptureStill(True)
q_ctrl.send(ctrl_intent)
q_ctrl.send(ctrl_capture)
However, this approach freezes the pipeline quickly. Setting the CaptureIntent only once before starting the frame recording works, but I'm not sure if something is actually happing.
I couldn't find any information about this CaptureIntent control. What exactly is it doing and what is the recommended way to use it?
Thanks!