Commit 332c9acf authored by Roland Levillain's avatar Roland Levillain Committed by Guillaume Lazzara
Browse files

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>.
parent 5ba28743
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-08-04 Guillaume Lazzara <z@lrde.epita.fr>
* core/component_set.hh: Add a new internal member
......
......@@ -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);
......
......@@ -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);
......
......@@ -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);
......
......@@ -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);
......
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