mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-19 02:16:34 +08:00
Moved a cout message to avoid an error about the comunication of number of images to project
This commit is contained in:
@@ -84,6 +84,9 @@ int main( int argc, char** argv )
|
|||||||
vector<Mat> pattern;
|
vector<Mat> pattern;
|
||||||
graycode->generate( pattern );
|
graycode->generate( pattern );
|
||||||
|
|
||||||
|
cout << pattern.size() << " pattern images + 2 images for shadows mask computation to acquire with both cameras"
|
||||||
|
<< endl;
|
||||||
|
|
||||||
// Generate the all-white and all-black images needed for shadows mask computation
|
// Generate the all-white and all-black images needed for shadows mask computation
|
||||||
Mat white;
|
Mat white;
|
||||||
Mat black;
|
Mat black;
|
||||||
@@ -120,9 +123,6 @@ int main( int argc, char** argv )
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
cout << pattern.size() << " pattern images + 2 images for shadows mask computation to acquire with both cameras"
|
|
||||||
<< endl;
|
|
||||||
|
|
||||||
// Turning off autofocus
|
// Turning off autofocus
|
||||||
cap1.set( CAP_PROP_SETTINGS, 1 );
|
cap1.set( CAP_PROP_SETTINGS, 1 );
|
||||||
cap2.set( CAP_PROP_SETTINGS, 1 );
|
cap2.set( CAP_PROP_SETTINGS, 1 );
|
||||||
|
Reference in New Issue
Block a user