diff --git a/modules/text/CMakeLists.txt b/modules/text/CMakeLists.txt index ddff051eb..ecb3a7f52 100644 --- a/modules/text/CMakeLists.txt +++ b/modules/text/CMakeLists.txt @@ -1,2 +1,2 @@ set(the_description "Text Detection and Recognition") -ocv_define_module(text opencv_ml opencv_imgproc opencv_core) +ocv_define_module(text opencv_ml opencv_highgui opencv_imgproc opencv_core) diff --git a/modules/text/samples/textdetection.cpp b/modules/text/samples/textdetection.cpp index a37e62f79..3db6990dc 100644 --- a/modules/text/samples/textdetection.cpp +++ b/modules/text/samples/textdetection.cpp @@ -8,7 +8,6 @@ * Author: Lluis Gomez i Bigorda */ -#include "opencv2/opencv.hpp" #include "opencv2/text.hpp" #include "opencv2/highgui.hpp" #include "opencv2/imgproc.hpp"