Working with an Oak-D lite and stereo functions were broken. Debugging shows no output from the right side camera.
DepthAI version: 3.2.1
[<CameraBoardSocket.CAM_A: 0>, <CameraBoardSocket.CAM_B: 1>, <CameraBoardSocket.CAM_C: 2>]
[{socket: CAM_A, sensorName: IMX214, width: 4208, height: 3120, supportedTypes: [COLOR], hasAutofocus: 0, hasAutofocusIC: 1, name: color}, {socket: CAM_B, sensorName: OV7251, width: 640, height: 480, supportedTypes: [MONO], hasAutofocus: 0, hasAutofocusIC: 0, name: left}, {socket: CAM_C, sensorName: OV7251, width: 640, height: 480, supportedTypes: [MONO], hasAutofocus: 0, hasAutofocusIC: 0, name: right}]
Cam B is detected but never outputs anything. This is the script that was used to test:
#!/usr/bin/env python3
import cv2
import depthai as dai
print(dai.__version__)
with dai.Device() as device: print(device.getConnectedCameras()) print(device.getConnectedCameraFeatures())
pipeline = dai.Pipeline()
mono = pipeline.create(dai.node.Camera).build(dai.CameraBoardSocket.CAM_B)
monoOut = mono.requestFullResolutionOutput()
queue = monoOut.createOutputQueue()
with pipeline: pipeline.start()
while pipeline.isRunning():
frame = queue.tryGet()
if frame is None: print("No frame yet...")
continue
cv2.imshow("mono", frame.getCvFrame())
if cv2.waitKey(1) == ord('q'):
break
which works fine on Cam A and Cam C but prints "No frame yet" on Cam B
Is it possible that this is a config or firmware issue, or is the camera truly broken?