Hi @mdupre27
This is very strange. It looks like a HW issue for the RGB camera. I assume you would have noticed the camera not working right? Could you run cam_test.py to confirm all three cameras work as expected. Did they work at any point?

Thanks,
Jaka

I have not been able to get it to work with the depthai application nor the .exe in a while. It seemed to work fine when i used my python script so i did not bother to check everything.

I tried 2 different sensors so it would be weird that both are facing the same issue. I never checked the RGB camera only the left/right images as can be seen on my first post.

So I managed to clone depthai-python
Installed build tools for Visual studio

cd depthai-python/utilities
python install_requirements.py
python cam_test.py

left everything as default

I could stream the left camera, the right and the rgb.

rgb looks very dark as I am not in the room right now 🇦

Interestingly I still get an error:

C:\Users\mdupr\Documents\depthai-luxonis\depthai-python\utilities>python cam_test.py

Enabled cameras:

rgb : color

left : mono

right : mono

camd : color

DepthAI version: 2.24.0.0

DepthAI path: C:\Users\mdupr\AppData\Roaming\Python\Python311\site-packages\depthai.cp311-win_amd64.pyd

C:\Users\mdupr\Documents\depthai-luxonis\depthai-python\utilities\cam_test.py:320: DeprecationWarning: Use constructor taking 'UsbSpeed' instead

with dai.Device(*dai_device_args) as device:

[1944301071119B2E00] [2.4] [0.729] [ColorCamera(9)] [error] Camera not detected on socket: 3

Connected cameras:

-socket CAM_A : IMX378 4056 x 3040 focus:auto - COLOR

-socket CAM_B : OV9282 1280 x 800 focus:fixed - MONO

-socket CAM_C : OV9282 1280 x 800 focus:fixed - MONO

USB speed: SUPER

IR drivers: [('LM3644', 2, 99)]

Cam: rgb left right camd [host | capture timestamp]

FPS: 30.00| 30.00 30.49| 30.00 30.49| 30.00 0.00| 0.00

FInally working:

I had to clone depthai-python repo
cd depthai-python/examples
python install_requirements,py

pip uninstall opencv-python
pip uninstall opencv-contrib-python
pip install opencv-contrib-python=4.5.5.62

cd depthai
python calibrate.py --blabla

Hi @mdupre27
I actually don't know why the camera is not detected on socket 0, but I'm glad it works now. Also, I believe the depthai repo has recently been updated to include latest depthai versions.

Thanks,
Jaka

Thanks @jakaskerl !

FYI calibration script is very unstable it kept crashing with sync errors here and there. I finally got to the point where the green screen says calibration was flashed to EEPROM.

Trying the depth viewer to check the calibration: on a flat wall, distance is about 60cm:

1m distance:

Am I using a wrong settings or missing something ? it does not look right.

Hi @mdupre27
Looks like a bad calibration. Any chance you can upload (drive) the /dataset folder in which images taken are saved so we can fix this?

Thanks,
Jaka

@jakaskerl I tried to restart a calibration to add more images to the dataset, but as a result it deleted the images in /dataset used for this calibration.

Ill try to take a new batch in the next few days but it is very time consuming due to the instability issue: basically there is a random sync issue every 10 images and the script crashes before saving the images, so I have to restart from the beginning and hope it does not crash before I get all the images I need.

This is the sink issue I was talking about:

Hi @mdupre27
Could you send the full command you are using to run the script. Try increasing the FPS and also the -mts to 1 second.

Thanks,
Jaka

I am usin the basic

python calibrate.py -s 6.567 --board OAk-D-PRO -nx 15 -ny 8