Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Olena
olena
Commits
9a738ad4
Commit
9a738ad4
authored
Nov 30, 2011
by
Guillaume Lazzara
Browse files
scribo/text/recognition.hh: Make some includes conditional.
parent
a20c0650
Changes
2
Hide whitespace changes
Inline
Side-by-side
scribo/ChangeLog
View file @
9a738ad4
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.
...
...
scribo/scribo/text/recognition.hh
View file @
9a738ad4
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment