Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera is not calibrated and Calibration tool not working #123

Open
halidBE opened this issue Jul 27, 2021 · 0 comments
Open

Camera is not calibrated and Calibration tool not working #123

halidBE opened this issue Jul 27, 2021 · 0 comments

Comments

@halidBE
Copy link

halidBE commented Jul 27, 2021

I have build the samples and running "get_depth_with_region" retrieving depth data. The depth and x,y data are completely incorrect and make no sense. it's obvious that image parameters not written but following the guide image parameters setting need the Tool files which not contained in your last version of the SDK, and the previous version contain errors in building.
Here is the in terminal output of running "get_depth_with_region":
"W/uvc-v4l2.cc:218 pu_control_range failed error 22, Invalid argument
W/channels.cc:1028 Get PuControlInfo of Option::GAIN failed
E/device.cc:670 Image params not found, but we need it to process the images. Please make tools and use img_params_writer to write the image params. If you update the SDK from 1.x, the SN*.conf is the file contains them. Besides, you could also calibrate them by yourself. Read the guide doc (https://github.com/slightech/MYNT-EYE-SDK-2-Guide) to learn more.
W/device.cc:677 Intrinsics & extrinsics not exist. Use default intrinsics.
I/device.cc:678 camera calib model: unknow, use default pinhole data
I/utils.cc:48 MYNT EYE devices:
I/utils.cc:51 index: 0, name: MYNT-EYE-S1040, sn: 00000041032400090913, firmware: 0.0
I/utils.cc:60 Only one MYNT EYE device, select index: 0
I/synthetic.cc:49 camera calib model: pinhole"

I have applied the patch file and retested ti to see numbers still make no sense. Then I Tried to calibrate the camera with "mynteye-s-calibrator" and I am getting this error:
"W/uvc-v4l2.cc:217 pu_control_range failed error 22, Invalid argument
W/channels.cc:739 Get PuControlInfo of Option::GAIN failed
F/channels.cc:477 Check failed: n == file_size The firmware not support getting device info, you could upgrade to latest "

Printed device information: MYNT EYE devices:
I/utils.cc:51 index: 0, name: MYNT-EYE-S1040, sn: 00000041032400090913, firmware: 0.0

I am running it on Ubuntu 16.04. I couldn't find any solution in the issues on your repository.

So please advise how to perform image parameters writing and calibration, maybe you have the parameters that I may write without performing calibration but also the Tool files to be used in parameters writing not contained.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant