1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Merge pull request #19559 from APrigarina:calib3d_fix

This commit is contained in:
Alexander Alekhin
2021-02-18 15:33:02 +00:00
@@ -417,7 +417,7 @@ int main(int argc, char* argv[])
// -----------------------Show the undistorted image for the image list ------------------------
//! [show_results]
if( s.inputType == Settings::IMAGE_LIST && s.showUndistorsed )
if( s.inputType == Settings::IMAGE_LIST && s.showUndistorsed && !cameraMatrix.empty())
{
Mat view, rview, map1, map2;