Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /root/Downloads/jerez/openalpr/openalpr/src/openalpr/detection/detectormorph.cpp: In member function 'virtual std::vector<cv::Rect_<int> > alpr::DetectorMorph::find_plates(cv::Mat, cv::Size, cv::Size)':
- /root/Downloads/jerez/openalpr/openalpr/src/openalpr/detection/detectormorph.cpp:61:40: error: 'CV_MOP_OPEN' was not declared in this scope
- morphologyEx(frame_gray, img_open, CV_MOP_OPEN, element, cv::Point(-1, -1));
- ^~~~~~~~~~~
- /root/Downloads/jerez/openalpr/openalpr/src/openalpr/detection/detectormorph.cpp:61:40: note: suggested alternative: 'CV_PROP'
- morphologyEx(frame_gray, img_open, CV_MOP_OPEN, element, cv::Point(-1, -1));
- ^~~~~~~~~~~
- CV_PROP
- /root/Downloads/jerez/openalpr/openalpr/src/openalpr/detection/detectormorph.cpp:71:50: error: 'CV_THRESH_OTSU' was not declared in this scope
- threshold(img_result, img_threshold, 0, 255, CV_THRESH_OTSU + CV_THRESH_BINARY);
- ^~~~~~~~~~~~~~
- /root/Downloads/jerez/openalpr/openalpr/src/openalpr/detection/detectormorph.cpp:71:50: note: suggested alternative: 'CV__TEST_GT'
- threshold(img_result, img_threshold, 0, 255, CV_THRESH_OTSU + CV_THRESH_BINARY);
- ^~~~~~~~~~~~~~
- CV__TEST_GT
- /root/Downloads/jerez/openalpr/openalpr/src/openalpr/detection/detectormorph.cpp:71:67: error: 'CV_THRESH_BINARY' was not declared in this scope
- threshold(img_result, img_threshold, 0, 255, CV_THRESH_OTSU + CV_THRESH_BINARY);
- ^~~~~~~~~~~~~~~~
- /root/Downloads/jerez/openalpr/openalpr/src/openalpr/detection/detectormorph.cpp:94:44: error: 'COLOR_MOP_CLOSE' was not declared in this scope
- morphologyEx(img_open2, img_threshold, COLOR_MOP_CLOSE, rectElement, cv::Point(-1, -1));
- ^~~~~~~~~~~~~~~
- /root/Downloads/jerez/openalpr/openalpr/src/openalpr/detection/detectormorph.cpp:105:13: error: 'CV_RETR_EXTERNAL' was not declared in this scope
- CV_RETR_EXTERNAL, // retrieve the external contours
- ^~~~~~~~~~~~~~~~
- /root/Downloads/jerez/openalpr/openalpr/src/openalpr/detection/detectormorph.cpp:105:13: note: suggested alternative: 'CV_EXTERN_C'
- CV_RETR_EXTERNAL, // retrieve the external contours
- ^~~~~~~~~~~~~~~~
- CV_EXTERN_C
- /root/Downloads/jerez/openalpr/openalpr/src/openalpr/detection/detectormorph.cpp:106:13: error: 'CV_CHAIN_APPROX_NONE' was not declared in this scope
- CV_CHAIN_APPROX_NONE); // all pixels of each contours
- ^~~~~~~~~~~~~~~~~~~~
- /root/Downloads/jerez/openalpr/openalpr/src/openalpr/detection/detectormorph.cpp:106:13: note: suggested alternative: 'CV_CPU_NONE'
- CV_CHAIN_APPROX_NONE); // all pixels of each contours
- ^~~~~~~~~~~~~~~~~~~~
- CV_CPU_NONE
- /root/Downloads/jerez/openalpr/openalpr/src/openalpr/detection/detectormorph.cpp:162:23: error: 'CV_RETR_LIST' was not declared in this scope
- CV_RETR_LIST, // retrieve the contour list
- ^~~~~~~~~~~~
- /root/Downloads/jerez/openalpr/openalpr/src/openalpr/detection/detectormorph.cpp:162:23: note: suggested alternative: 'CV_BIG_INT'
- CV_RETR_LIST, // retrieve the contour list
- ^~~~~~~~~~~~
- CV_BIG_INT
- openalpr/CMakeFiles/openalpr.dir/build.make:192: recipe for target 'openalpr/CMakeFiles/openalpr.dir/detection/detectormorph.cpp.o' failed
- make[2]: *** [openalpr/CMakeFiles/openalpr.dir/detection/detectormorph.cpp.o] Error 1
- CMakeFiles/Makefile2:628: recipe for target 'openalpr/CMakeFiles/openalpr.dir/all' failed
- make[1]: *** [openalpr/CMakeFiles/openalpr.dir/all] Error 2
- Makefile:151: recipe for target 'all' failed
- make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement