tobybreckon/zed-opencv-native-python

Regarding resolution of ZED camera

omnajain opened this issue · 10 comments

Unexpected error while using this command:
python ./zed-stereo.py --serial 000022406 --camera_to_use 1

Error - selected camera # 1 : resolution does not match a known ZED configuration profile.

Interesting, can you please disconnect/connect the ZED camera to your (linux) PC again and send me the output of the following shell commands:

ls /dev/video*

and also:

dmesg | tail -20

Is a zed-cam-sn-22406.conf file (or similar) produced when you run the python script ?
(if so please also attach to reply)

This error is normally caused by either the wrong camera ID being selected or alternatively the machine not having internet access to download the calibration file via the ZED calibration web service.

No screenshot attached.

Please run commands and copy/paste output into this thread.

Thanks.

Can I confirm which model of ZED camera it is?

Also can you attach the zed-cam-sn-000022406.conf file, please.

Still waiting on the .conf file ...

Reply via github.com not email, no config file received.

So re-examining this the solution you need is:

python ./zed-stereo.py --serial 000022406 --camera_to_use 0

... as you only have 1 video device (/dev/video0) which are numbered 0 to N under linux, not from 1.

Your camera has a valid calibration file available - http://calib.stereolabs.com/?SN=22406 which matches the format of the default one - http://calib.stereolabs.com/?SN=1010