Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 2088

stereocalibration Qs

$
0
0
i have a pair of webcameras and would love to calibrate it with opencv stereoCalibrate function. The complete code could be found here: https://github.com/bruce95/stereocam/blob/master/attach.py While executing it ,i use : ```chessboard_calibrate_alone_with_data_saving('cam1',obj_points,7,7,(640,480),'cam1') chessboard_calibrate_alone_with_data_saving('cam2',obj_points,7,7,(640,480),'cam2') stereo_match(stereo_calibrate('cam1/2.jpg','cam2/2.jpg'(640,480),load1=True,load2=True,load_name1='cam1',load_name2='cam2'))``` The camera 1 pics are here: https://github.com/bruce95/stereocam/tree/master/pic1 The camera 2 pics are here: https://github.com/bruce95/stereocam/tree/master/pic2 The program works fluently with no errors,but the remaped result is very strange: https://github.com/bruce95/stereocam/blob/master/Figure_1.png https://github.com/bruce95/stereocam/blob/master/Figure_1-1.png So is the match result(disparity map): https://github.com/bruce95/stereocam/blob/master/Figure_1-2.png Anyone knows what the problem is?

Viewing all articles
Browse latest Browse all 2088

Trending Articles