Advertisement
Guest User

Untitled

a guest
Dec 17th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.95 KB | None | 0 0
  1. /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)':
  2. /root/Downloads/jerez/openalpr/openalpr/src/openalpr/detection/detectormorph.cpp:61:40: error: 'CV_MOP_OPEN' was not declared in this scope
  3. morphologyEx(frame_gray, img_open, CV_MOP_OPEN, element, cv::Point(-1, -1));
  4. ^~~~~~~~~~~
  5. /root/Downloads/jerez/openalpr/openalpr/src/openalpr/detection/detectormorph.cpp:61:40: note: suggested alternative: 'CV_PROP'
  6. morphologyEx(frame_gray, img_open, CV_MOP_OPEN, element, cv::Point(-1, -1));
  7. ^~~~~~~~~~~
  8. CV_PROP
  9. /root/Downloads/jerez/openalpr/openalpr/src/openalpr/detection/detectormorph.cpp:71:50: error: 'CV_THRESH_OTSU' was not declared in this scope
  10. threshold(img_result, img_threshold, 0, 255, CV_THRESH_OTSU + CV_THRESH_BINARY);
  11. ^~~~~~~~~~~~~~
  12. /root/Downloads/jerez/openalpr/openalpr/src/openalpr/detection/detectormorph.cpp:71:50: note: suggested alternative: 'CV__TEST_GT'
  13. threshold(img_result, img_threshold, 0, 255, CV_THRESH_OTSU + CV_THRESH_BINARY);
  14. ^~~~~~~~~~~~~~
  15. CV__TEST_GT
  16. /root/Downloads/jerez/openalpr/openalpr/src/openalpr/detection/detectormorph.cpp:71:67: error: 'CV_THRESH_BINARY' was not declared in this scope
  17. threshold(img_result, img_threshold, 0, 255, CV_THRESH_OTSU + CV_THRESH_BINARY);
  18. ^~~~~~~~~~~~~~~~
  19. /root/Downloads/jerez/openalpr/openalpr/src/openalpr/detection/detectormorph.cpp:94:44: error: 'COLOR_MOP_CLOSE' was not declared in this scope
  20. morphologyEx(img_open2, img_threshold, COLOR_MOP_CLOSE, rectElement, cv::Point(-1, -1));
  21. ^~~~~~~~~~~~~~~
  22. /root/Downloads/jerez/openalpr/openalpr/src/openalpr/detection/detectormorph.cpp:105:13: error: 'CV_RETR_EXTERNAL' was not declared in this scope
  23. CV_RETR_EXTERNAL, // retrieve the external contours
  24. ^~~~~~~~~~~~~~~~
  25. /root/Downloads/jerez/openalpr/openalpr/src/openalpr/detection/detectormorph.cpp:105:13: note: suggested alternative: 'CV_EXTERN_C'
  26. CV_RETR_EXTERNAL, // retrieve the external contours
  27. ^~~~~~~~~~~~~~~~
  28. CV_EXTERN_C
  29. /root/Downloads/jerez/openalpr/openalpr/src/openalpr/detection/detectormorph.cpp:106:13: error: 'CV_CHAIN_APPROX_NONE' was not declared in this scope
  30. CV_CHAIN_APPROX_NONE); // all pixels of each contours
  31. ^~~~~~~~~~~~~~~~~~~~
  32. /root/Downloads/jerez/openalpr/openalpr/src/openalpr/detection/detectormorph.cpp:106:13: note: suggested alternative: 'CV_CPU_NONE'
  33. CV_CHAIN_APPROX_NONE); // all pixels of each contours
  34. ^~~~~~~~~~~~~~~~~~~~
  35. CV_CPU_NONE
  36. /root/Downloads/jerez/openalpr/openalpr/src/openalpr/detection/detectormorph.cpp:162:23: error: 'CV_RETR_LIST' was not declared in this scope
  37. CV_RETR_LIST, // retrieve the contour list
  38. ^~~~~~~~~~~~
  39. /root/Downloads/jerez/openalpr/openalpr/src/openalpr/detection/detectormorph.cpp:162:23: note: suggested alternative: 'CV_BIG_INT'
  40. CV_RETR_LIST, // retrieve the contour list
  41. ^~~~~~~~~~~~
  42. CV_BIG_INT
  43. openalpr/CMakeFiles/openalpr.dir/build.make:192: recipe for target 'openalpr/CMakeFiles/openalpr.dir/detection/detectormorph.cpp.o' failed
  44. make[2]: *** [openalpr/CMakeFiles/openalpr.dir/detection/detectormorph.cpp.o] Error 1
  45. CMakeFiles/Makefile2:628: recipe for target 'openalpr/CMakeFiles/openalpr.dir/all' failed
  46. make[1]: *** [openalpr/CMakeFiles/openalpr.dir/all] Error 2
  47. Makefile:151: recipe for target 'all' failed
  48. make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement