We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f26c983 commit 429418eCopy full SHA for 429418e
modules/text/src/ocr_tesseract.cpp
@@ -48,6 +48,14 @@
48
#include <fstream>
49
#include <queue>
50
51
+#ifdef HAVE_TESSERACT
52
+#if !defined(USE_STD_NAMESPACE)
53
+#define USE_STD_NAMESPACE
54
+#endif
55
+#include <tesseract/baseapi.h>
56
+#include <tesseract/resultiterator.h>
57
58
+
59
namespace cv
60
{
61
namespace text
modules/text/src/precomp.hpp
@@ -47,12 +47,4 @@
47
#include "text_config.hpp"
-#ifdef HAVE_TESSERACT
-#if !defined(USE_STD_NAMESPACE)
-#define USE_STD_NAMESPACE
-#endif
-#include <tesseract/baseapi.h>
-#include <tesseract/resultiterator.h>
-
#endif
0 commit comments