Hi @Unknown,
In DepthAI v3 the USB link speed is auto-negotiated to the best the setup supports (device + host port + cable). You can request SuperSpeed+ (10 Gbps) by capping the device to SUPER_PLUS
, but if the hardware path can’t do it, the device will automatically run at the best available (e.g., SUPER
≈ 5 Gbps).
Below is a small test snippet you can run. It requests SUPER_PLUS
and prints the negotiated link so you can verify what you actually get:
import cv2, depthai as dai
# Ask for up to SUPER_PLUS (10 Gbps)
device = dai.Device(maxUsbSpeed=dai.UsbSpeed.SUPER_PLUS)
with dai.Pipeline(device) as pipeline:
cam = pipeline.create(dai.node.Camera).build(dai.CameraBoardSocket.CAM_A)
out = cam.requestOutput((1920, 1080), dai.ImgFrame.Type.BGR888p)
q = out.createOutputQueue()
print("Requested cap:", dai.UsbSpeed.SUPER_PLUS.name)
print("Negotiated:", device.getUsbSpeed().name) # SUPER or SUPER_PLUS, etc.
pipeline.start()
while pipeline.isRunning():
frame = q.get()
cv2.imshow("video", frame.getCvFrame())
if cv2.waitKey(1) == ord('q'):
break