handle empty cameraMatrix
This commit is contained in:
parent
eb90186614
commit
96570820ef
@ -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;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user