* 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(a)nuxeo.com>om>.
---
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 8ae04f3..08477d4 100644
--- a/scribo/ChangeLog
+++ b/scribo/ChangeLog
@@ -1,3 +1,14 @@
+2010-07-21 Roland Levillain <roland(a)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(a)nuxeo.com>om>.
+
2010-08-04 Guillaume Lazzara <z(a)lrde.epita.fr>
* core/component_set.hh: Add a new internal member
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
Show replies by date