hengli / camodocal

CamOdoCal: Automatic Intrinsic and Extrinsic Calibration of a Rig with Multiple Generic Cameras and Odometry
Other
1.16k stars 389 forks source link

bin/extrinsic_calib Segmentation fault #74

Closed sunjiayu12 closed 6 years ago

sunjiayu12 commented 6 years ago

When I run: $ bin/extrinsic_calib --calib /home/miao/Desktop/camodocal/build/ --camera-count 1 --output /home/miao/Desktop/camodocal/build/calib --input /home/miao/Desktop/camodocal/data/newimage/ --data /home/miao/Desktop/camodocal/data/newimage/ --event /home/miao/Desktop/camodocal/build/camera_chessboard_data.dat in which --input contains .bmp and frames, --calib is generated by bin/intrinsic_calib, and --event is generated by bin/intrinsic_calib. However I got error like this:

# INFO: Initializing... 
Read /home/miao/Desktop/camodocal/build/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.91456e-310 6.91452e-310 6.91456e-310
6.91456e-310 6.91452e-310 7.90505e-323
6.91452e-310 6.91452e-310 6.91452e-310
Translation: 
2.52962e-321            0 6.91456e-310
# INFO: Completed camera-odometry calibration for all cameras.
# INFO: Saving intermediate data... Done. Took 0.00s.
# INFO: Running camera rig calibration.
Segmentation fault (core dumped)

I wonder if the owner could give a dataset just for extrinsic_calib, thanks a lot. Anyone gives any suggestions is appreciated.

AmazingMei commented 6 years ago

I have the same problem

AmazingMei commented 6 years ago

@sunjiayu12 Have you solved the problem?

stillbreeze commented 5 years ago

@sunjiayu12 @AmazingMei : Did any of you manage to solve this? I'm getting the same error. # ERROR: No segments, calibration fails!!

1JIEZHAO commented 5 years ago

@stillbreeze Can you run this program successfully? I have the same problem "Segmentation fault"