last-svn-commit-426-g6cdc421 Have Tesseract-related parts of Scribo compile again.

* scribo/debug/bboxes_enlarged_image.hh, * scribo/debug/looks_like_a_text_line_image.hh, * scribo/debug/mean_and_base_lines_image.hh, * scribo/debug/save_bboxes_image.hh: Catch up with scribo::line_info<L>'s current interface. Reported by Olivier Grisel <ogrisel@nuxeo.com>. --- scribo/ChangeLog | 11 +++++++++++ scribo/debug/bboxes_enlarged_image.hh | 2 +- scribo/debug/looks_like_a_text_line_image.hh | 2 +- scribo/debug/mean_and_base_lines_image.hh | 2 +- scribo/debug/save_bboxes_image.hh | 2 +- 5 files changed, 15 insertions(+), 4 deletions(-) diff --git a/scribo/ChangeLog b/scribo/ChangeLog index f82b55a..cf38883 100644 --- a/scribo/ChangeLog +++ b/scribo/ChangeLog @@ -1,5 +1,16 @@ 2010-07-21 Roland Levillain <roland@lrde.epita.fr> + Have Tesseract-related parts of Scribo compile again. + + * scribo/debug/bboxes_enlarged_image.hh, + * scribo/debug/looks_like_a_text_line_image.hh, + * scribo/debug/mean_and_base_lines_image.hh, + * scribo/debug/save_bboxes_image.hh: + Catch up with scribo::line_info<L>'s current interface. + Reported by Olivier Grisel <ogrisel@nuxeo.com>. + +2010-07-21 Roland Levillain <roland@lrde.epita.fr> + Regen SCRIBO's Makefile helpers. * scribo/headers.mk, scribo/tests/unit_test/unit-tests.mk: Here. diff --git a/scribo/debug/bboxes_enlarged_image.hh b/scribo/debug/bboxes_enlarged_image.hh index edd6d7a..2563a1a 100644 --- a/scribo/debug/bboxes_enlarged_image.hh +++ b/scribo/debug/bboxes_enlarged_image.hh @@ -104,7 +104,7 @@ namespace scribo image2d<value::rgb8> output = data::convert(value::rgb8(), input); for_all_lines(l, lines) - if (! lines(l).hidden()) + if (! lines(l).is_hidden()) { if (text::internal::looks_like_a_text_line(lines(l))) mln::draw::box(output, lines(l).ebbox(), text_value); diff --git a/scribo/debug/looks_like_a_text_line_image.hh b/scribo/debug/looks_like_a_text_line_image.hh index a40c7d6..d8aacf0 100644 --- a/scribo/debug/looks_like_a_text_line_image.hh +++ b/scribo/debug/looks_like_a_text_line_image.hh @@ -98,7 +98,7 @@ namespace scribo image2d<value::rgb8> output = data::convert(value::rgb8(), input); for_all_lines(l, lines) - if (! lines(l).hidden()) + if (! lines(l).is_hidden()) { if (text::internal::looks_like_a_text_line(lines(l))) mln::draw::box(output, lines(l).bbox(), text_value); diff --git a/scribo/debug/mean_and_base_lines_image.hh b/scribo/debug/mean_and_base_lines_image.hh index c4517c7..16a9aad 100644 --- a/scribo/debug/mean_and_base_lines_image.hh +++ b/scribo/debug/mean_and_base_lines_image.hh @@ -100,7 +100,7 @@ namespace scribo for_all_lines(l, lines) { - if (! lines(l).hidden()) + if (! lines(l).is_hidden()) { mln::draw::box(output, lines(l).bbox(), bbox_value); diff --git a/scribo/debug/save_bboxes_image.hh b/scribo/debug/save_bboxes_image.hh index ee479cc..f406e08 100644 --- a/scribo/debug/save_bboxes_image.hh +++ b/scribo/debug/save_bboxes_image.hh @@ -113,7 +113,7 @@ namespace scribo output = data::convert(value::rgb8(), input); for_all_lines(l, lines) - if (! lines(l).hidden()) + if (! lines(l).is_hidden()) mln::draw::box(output, lines(l).bbox(), value); mln::io::ppm::save(output, filename); -- 1.5.6.5
participants (1)
-
Roland Levillain