Commit 9a738ad4 authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

scribo/text/recognition.hh: Make some includes conditional.

parent a20c0650
2011-11-30 Guillaume Lazzara <z@lrde.epita.fr>
* scribo/text/recognition.hh: Make some includes conditional.
2011-11-29 Guillaume Lazzara <z@lrde.epita.fr>
Do not compile scribo-viewer if Tesseract is not present.
......
......@@ -34,6 +34,11 @@
/// \todo For each text bbox, we create a new image. We may like to avoid that.
/// \todo Do not store the result in an image?
# if !defined HAVE_TESSERACT_2 && !defined HAVE_TESSERACT_3
# define HAVE_TESSERACT_2
# endif
# include <ostream>
# include <mln/core/image/dmorph/image_if.hh>
......@@ -59,13 +64,12 @@
# include <tesseract/baseapi.h>
# include <tesseract/ocrclass.h>
# include <tesseract/resultiterator.h>
# if defined HAVE_TESSERACT_3
# include <tesseract/ocrclass.h>
# include <tesseract/resultiterator.h>
# endif // ! HAVE_TESSERACT_3
# if !defined HAVE_TESSERACT_2 && !defined HAVE_TESSERACT_3
# define HAVE_TESSERACT_2
# endif
......
Supports Markdown
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