idiap / multicamera-calibration

Multi-Camera Calibration Suite
GNU General Public License v3.0
185 stars 50 forks source link

how to run extrinsics calibration #3

Open manhha1402 opened 6 years ago

manhha1402 commented 6 years ago

Hi, I have 2 cameras with known intrinsic parameters and a chessboard. How should I compute extrinsic parameters between 2 cameras using the source code? Thanks

SalimKayal commented 6 years ago

Hi, You have to put the intrinsic parameters in a json file per camera {'intrinsic': [[fx, 0, cx],[0, fy, cy],[0,0,1]], 'distortion_coefficients':[k1, k2, p1, p2]} then you use that with the extrinsic script. this script will ask you to annotate points on the scene taken by the cameras and will use those points to compute the extrinsic parameters.

mg515 commented 6 years ago

When I start the extrinsic calibration, I click on the point in the frame, it asks me to input the real world x in cm. I then input an integer, but how can I continue? If I press Enter, only '?' appears. How do I confirm my input?

edit: apparently there is a problem in my system where it does not recognize char(10) when I press Enter.

Ri-Bai commented 3 years ago

When I start the extrinsic calibration, I click on the point in the frame, it asks me to input the real world x in cm. I then input an integer, but how can I continue? If I press Enter, only '?' appears. How do I confirm my input?

edit: apparently there is a problem in my system where it does not recognize char(10) when I press Enter.

are you solve this problem? I met the same