Hello,
I am looking for examples that can get the OAK-1 to output 60 fps as specified on the product webpage. I expected to see 60 fps when using the right hardware (USB gen 3.2, high quality cables, etc) but the fps seems to be capped to 30. The following code is what I have using depthai V3 to create the pipline that I use for previewing or recording video:
def create_pipeline():
pipeline = dai.Pipeline()
cam = pipeline.create(dai.node.Camera).build(dai.CameraBoardSocket.CAM_A)
cam_out = cam.requestOutput((FRAME_WIDTH, FRAME_HEIGHT), dai.ImgFrame.Type.NV12)
video_enc = pipeline.create(dai.node.VideoEncoder)
video_enc.setDefaultProfilePreset(FPS, dai.VideoEncoderProperties.Profile.MJPEG)
cam_out.link(video_enc.input)
control_in = cam.inputControl
return pipeline, cam_out, video_enc, control_in
If i do: cam_out = cam.requestOutput((FRAME_WIDTH, FRAME_HEIGHT), dai.ImgFrame.Type.NV12, fps=60),
I get the error: "RuntimeError: Camera(0) - Desired FPS 60 is higher than max FPS of the sensor config: 30.3"
Is there a way to modify the sensor config to enable 60 fps?
I saw some snippets about setting USB speed to SUPER PLUS somewhere but it was for V2 and I'm not sure how to do it for V3 or if it would even work.
Any help is much appreciated.