|
|
|
@ -83,10 +83,10 @@ static bool detecChessboardCorners(const vector<string>& list1, vector<string>& |
|
|
|
|
} |
|
|
|
|
if (!img_l.empty()) |
|
|
|
|
imageSize1 = img_l.size(); |
|
|
|
|
if (!img_r.empty()) |
|
|
|
|
{ |
|
|
|
|
imageSize2 = img_r.size(); |
|
|
|
|
} |
|
|
|
|
if (!img_r.empty()) |
|
|
|
|
{ |
|
|
|
|
imageSize2 = img_r.size(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (image_points_1.size() < 3) |
|
|
|
|
return false; |
|
|
|
@ -314,4 +314,4 @@ int main(int argc, char** argv) |
|
|
|
|
|
|
|
|
|
saveCameraParams(outputFilename, flags, K1, K2, D1, D2, _xi1, _xi2, rvec, tvec, rvecs, tvecs, |
|
|
|
|
detec_list_1, detec_list_2, idx, rms, imagePoints1, imagePoints2); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|