]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/ShapeRecognition/ShapeRec_FeatureDetector.hxx
Salome HOME
Backward compatibility with OpenCV 2x
[modules/geom.git] / src / ShapeRecognition / ShapeRec_FeatureDetector.hxx
index f068387ba989b036d975b715b4125d4eb6d77d4b..a4b3cc21e8bedf8ae8d474337d40a6681e7373fe 100644 (file)
 //      This workaround will be removed after correction of the
 //      https://tracker.dev.opencascade.org/view.php?id=28457 issue.
 #ifdef HAVE_TBB
- #undef HAVE_TBB
- #include <opencv2/imgproc/imgproc.hpp>
- #include <opencv2/highgui/highgui.hpp>
- #define HAVE_TBB
+#undef HAVE_TBB
+#include <opencv2/opencv.hpp>
+#define HAVE_TBB
 #else
- #include <opencv2/imgproc/imgproc.hpp>
- #include <opencv2/highgui/highgui.hpp>
+#include <opencv2/opencv.hpp>
 #endif
 
 // Qt