replaced wrong check to correct check
This commit is contained in:
Siva Prasad Varma 2013-04-05 19:09:09 +05:30
parent 652606f780
commit e2df8c7e62

View File

@ -72,7 +72,7 @@ int main( int argc, char** argv ) {
}
Mat imgB = imread(argv[2], CV_LOAD_IMAGE_GRAYSCALE );
if( !imgA.data ) {
if( !imgB.data ) {
std::cout << " --(!) Error reading image " << argv[2] << std::endl;
return -1;
}