Open PretDB opened 6 years ago
I'm compiling example in ch07, but had a problem as below:
ch7/feature_extraction.cpp:17:35: error: 'CV_LOAD_IMAGE_COLOR' was not declared in this scope Mat img_1 = imread ( argv[1], CV_LOAD_IMAGE_COLOR );
I'm using opencv 4.0.0-pre
replace “IMREAD_COLOR” with “CV_LOAD_IMAGE_COLOR”.
I'm compiling example in ch07, but had a problem as below:
ch7/feature_extraction.cpp:17:35: error: 'CV_LOAD_IMAGE_COLOR' was not declared in this scope Mat img_1 = imread ( argv[1], CV_LOAD_IMAGE_COLOR );
I'm using opencv 4.0.0-pre