replaced wrong check to correct check
pull/780/head
Siva Prasad Varma 12 years ago
parent 652606f780
commit e2df8c7e62
  1. 2
      samples/cpp/freak_demo.cpp

@ -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;
}

Loading…
Cancel
Save