Yolo_mark icon indicating copy to clipboard operation
Yolo_mark copied to clipboard

Remove CV_ prefix for OPENCV 3+

Open mengruli opened this issue 5 years ago • 0 comments

/home/mengruli/Documents/hoang/special_topic/deep_learning/Yolo_mark/main.cpp: In function ‘int main(int, char**)’: /home/mengruli/Documents/hoang/special_topic/deep_learning/Yolo_mark/main.cpp:143:28: error: ‘CV_CAP_PROP_FPS’ was not declared in this scope const int fps = cap.get(CV_CAP_PROP_FPS); ^ /home/mengruli/Documents/hoang/special_topic/deep_learning/Yolo_mark/main.cpp:465:60: error: ‘CV_FILLED’ was not declared in this scope rectangle(frame, prev_img_rect, Scalar(100, 100, 100), CV_FILLED); ^ CMakeFiles/yolo_mark.dir/build.make:62: recipe for target 'CMakeFiles/yolo_mark.dir/main.cpp.o' failed make[2]: *** [CMakeFiles/yolo_mark.dir/main.cpp.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/yolo_mark.dir/all' failed make[1]: *** [CMakeFiles/yolo_mark.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2

mengruli avatar Oct 27 '18 01:10 mengruli