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
The examples are tested with OpenCV 3.4 - opencv-samples-for-intel-realsense-cameras
Please make sure you have the right version of OpenCV installed.
We also provide CV examples inside the Windows installer with every release.
I am trying to build the opencv wrapper and i am receiving this,
Scanning dependencies of target rs-grabcuts
[ 50%] Building CXX object CMakeFiles/rs-grabcuts.dir/rs-grabcuts.cpp.o
/home/mike/librealsense/wrappers/opencv/grabcuts/rs-grabcuts.cpp: In function ‘int main(int, char**)’:
/home/mike/librealsense/wrappers/opencv/grabcuts/rs-grabcuts.cpp:39:63: error: ‘ThresholdType’ has not been declared
auto create_mask_from_depth = [&](Mat& depth, int thresh, ThresholdType type) //#ThresholdTypes type);
^
CMakeFiles/rs-grabcuts.dir/build.make:62: recipe for target 'CMakeFiles/rs-grabcuts.dir/rs-grabcuts.cpp.o' failed
make[2]: *** [CMakeFiles/rs-grabcuts.dir/rs-grabcuts.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/rs-grabcuts.dir/all' failed
make[1]: *** [CMakeFiles/rs-grabcuts.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: