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

Can't run extrinsic_calib #63

Closed
tancredosouza opened this issue May 10, 2017 · 3 comments
Closed

Can't run extrinsic_calib #63

tancredosouza opened this issue May 10, 2017 · 3 comments

Comments

@tancredosouza
Copy link

I've extracted the camera's intrinsic parameters using the first method. However, when I try to use the camera_chessboard_data.dat and camera_0_calib.yaml files to obtain the extrinsic parameters, it returns an error.

To explain the folder hierarchy: the dataset folder inside build has the (1) calib folder with the camera_0_calib.yaml file, the (2) calibration_data and (3) data used, respectively, for the output and
the working data, and the (4) input folder, which contains the same .png chessboard images used for intrinsic calibration and parameters extraction, named camera_0_X.png.

Here is the command line I'm writing:
bin/extrinsic_calib --calib /home/camodocal/build/dataset/calib --camera-count 1 --output /home/camodocal/build/dataset/calibration_data/ --input /home/camodocal/build/dataset/input --data /home/camodocal/build/dataset/data --event /home/camodocal/build/dataset/input/camera_chessboard_data.dat

Here is the return:
`# INFO: Initializing...
Read /home/camodocal/build/dataset/input/camera_chessboard_data.dat file to get all the events

INFO: Initialization finished!

INFO: Running camera-odometry calibration for each of the 1 cameras.

ERROR: No segments, calibration fails!!

INFO: Calibrating odometry - camera 0...

Rotation:
6.9117e-310 6.91165e-310 6.9117e-310
6.9117e-310 6.91165e-310 7.90505e-323
6.91165e-310 6.91165e-310 6.91165e-310
Translation:
2.52962e-321 0 6.9117e-310

INFO: Completed camera-odometry calibration for all cameras.

INFO: Saving intermediate data... Done. Took 0.00s.

INFO: Running camera rig calibration.

WARNING: Logging before InitGoogleLogging() is written to STDERR
E0510 17:29:24.825707 4409 solver_impl.cc:354] Problem contains no parameter blocks.
Segmentation fault (core dumped)
`

Sorry if this is a very silly question, and thank you for your attention.

@blairlpp
Copy link

Have u tried two or more cameras of a rig? @tancredosouza

@AmazingMei
Copy link

The same problem.

@cy-goh
Copy link

cy-goh commented Sep 25, 2020

See my reply here

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

4 participants