You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 3, 2023. It is now read-only.
[ 81%] Building CXX object CMakeFiles/monitor.dir/src/main.cpp.o
/home/jeetendra/object-size-detector-cpp/src/main.cpp: In function ‘void frameRunner()’:
/home/jeetendra/object-size-detector-cpp/src/main.cpp:199:34: error: ‘CV_RGB2GRAY’ was not declared in this scope
cvtColor(frame, img, CV_RGB2GRAY);
^
/home/jeetendra/object-size-detector-cpp/src/main.cpp:213:52: error: ‘CV_RETR_EXTERNAL’ was not declared in this scope
findContours(img, contours, hierarchy, CV_RETR_EXTERNAL, CV_CHAIN_APPROX_NONE);
^
/home/jeetendra/object-size-detector-cpp/src/main.cpp:213:70: error: ‘CV_CHAIN_APPROX_NONE’ was not declared in this scope
findContours(img, contours, hierarchy, CV_RETR_EXTERNAL, CV_CHAIN_APPROX_NONE);
^
CMakeFiles/monitor.dir/build.make:62: recipe for target 'CMakeFiles/monitor.dir/src/main.cpp.o' failed
make[2]: *** [CMakeFiles/monitor.dir/src/main.cpp.o] Error 1
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/monitor.dir/all' failed
make[1]: *** [CMakeFiles/monitor.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2