Hi

I've pugged in my new camera and followed the installation instructions here https://docs.luxonis.com/projects/api/en/latest/install/#windows-10

I tried to run rgb_preview.py but I don't get a video preview window. Here is the response to running the script:

python3 ColorCamera/rgb_preview.py

[1844301081BB5D1200] [1.1] [1.122] [ColorCamera(0)] [error] Camera not detected on socket: 0

Connected cameras: [{socket: CAM_B, sensorName: OV9782, width: 1280, height: 800, orientation: ROTATE_180_DEG, supportedTypes: [COLOR], hasAutofocus: 0, hasAutofocusIC: 0, name: left}, {socket: CAM_C, sensorName: OV9782, width: 1280, height: 800, orientation: ROTATE_180_DEG, supportedTypes: [COLOR], hasAutofocus: 0, hasAutofocusIC: 0, name: right}]

Usb speed: SUPER

Device name: OAK-D-SR Product name: OAK-D-SR

How do I go about tracking down the problem?

Hi @HP1
These examples are made for regular Oak devices (either Single color on socket 0/CAM_A or color on 0 and mono on 1 and 2 - CAM_B, CAM_C respectively).
Your device two color cameras on sockets CAM_B and C. There is no camera at socket 0/CAM_A. Try running depth_preview_sr.py

Thanks,
Jaka

Hi Jaka

Yes, depth_preview_sr.py works as expected.

Thanks