Commit f6d0e94e authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #2088 from alalek:issue_2084

parents bc081719 429418eb
...@@ -48,6 +48,14 @@ ...@@ -48,6 +48,14 @@
#include <fstream> #include <fstream>
#include <queue> #include <queue>
#ifdef HAVE_TESSERACT
#if !defined(USE_STD_NAMESPACE)
#define USE_STD_NAMESPACE
#endif
#include <tesseract/baseapi.h>
#include <tesseract/resultiterator.h>
#endif
namespace cv namespace cv
{ {
namespace text namespace text
......
...@@ -47,12 +47,4 @@ ...@@ -47,12 +47,4 @@
#include "text_config.hpp" #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
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment