I'm using an OAK-FFC-4P board with four OV9782 sensors.
When configuring them using the DepthAI v3
recommended Camera
node , I'm encountering an issue:
- The sensor on the primary FFC port (
A
) works correctly and can output color images .
- However, sensors connected to secondary FFC ports (
B
, C
, D
) only output grayscale images, regardless of the OV9782's capability for color output.
I need color output from all four OV9782 sensors.
- How can I configure the
Camera
nodes connected to ports B
, C
, and D
to output the RGB data from these OV9782 sensors?
Environment:
- Hardware: OAK-FFC-4P + 4x OV9782
- Software: DepthAI v3.0.0rc2
- OS: Ubuntu 22.04
Code Snippet (Simplified):
import cv2
import depthai as dai
# Create pipeline
with dai.Pipeline() as pipeline:
# Define cameras - Attempting color output for all
cam_a = pipeline.create(dai.node.Camera).build(dai.CameraBoardSocket.A)
cam_a_queue = cam_a.requestOutput((1280, 720), type=dai.ImgFrame.Type.BGR888p).createOutputQueue()
cam_b = pipeline.create(dai.node.Camera).build(dai.CameraBoardSocket.B)
cam_b_queue = cam_b.requestOutput((1280, 720), type=dai.ImgFrame.Type.BGR888p).createOutputQueue()
# Connect to device and start pipeline
pipeline.start()
while pipeline.isRunning():
cam_a_packet = cam_a_queue.get()
cam_b_packet = cam_b_queue.get()
cv2.imshow("cam_a", cam_a_packet.getCvFrame())
cv2.imshow("cam_b", cam_b_packet.getCvFrame())
key = cv2.waitKey(1) & 0xFF
if key == ord("q"):
break
Additional Notes:
- In DepthAI v2, I could successfully get color from all ports using ColorCamera nodes