aboutsummaryrefslogtreecommitdiff
path: root/pix_opencv_contours_boundingrect.h
diff options
context:
space:
mode:
Diffstat (limited to 'pix_opencv_contours_boundingrect.h')
-rw-r--r--pix_opencv_contours_boundingrect.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/pix_opencv_contours_boundingrect.h b/pix_opencv_contours_boundingrect.h
index e599f69..e8634ff 100644
--- a/pix_opencv_contours_boundingrect.h
+++ b/pix_opencv_contours_boundingrect.h
@@ -17,7 +17,8 @@ LOG
#define INCLUDE_PIX_OPENCV_CONTOURS_BOUNDINGRECT_H_
#ifndef _EiC
-#include "cv.h"
+#include "opencv2/legacy/legacy.hpp"
+#include "opencv2/legacy/compat.hpp"
#endif
#include "Base/GemPixObj.h"