$extrastylesheet
Olena
User documentation 2.1
An Image Processing Platform
Scribo
Modules
Namespaces
Classes
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
non_text_mask.cc
1
2
3
int
main(
int
argc,
char
*argv[])
4
{
5
// Link text lines
6
on_new_progress_label(
"Linking text lines"
);
7
line_links<L> llinks =
scribo::text::link_lines
(lines);
8
9
// Filter line links.
10
on_new_progress_label(
"Filter line links"
);
11
llinks =
scribo::filter::line_links_x_height
(llinks);
12
13
// Construct paragraphs
14
on_new_progress_label(
"Constructing paragraphs"
);
15
scribo::paragraph_set<L>
parset =
scribo::make::paragraph
(llinks);
16
doc.set_paragraphs(parset);
17
18
on_progress();
19
20
21
// Extract other Elements
22
on_new_progress_label(
"Extracting Elements"
);
23
component_set<L>
24
elements = scribo::primitive::extract::non_text_fast(doc);
25
26
}
scribo
src
debug
non_text_mask.cc
Copyright (C) 2012 EPITA Research and Development Laboratory (LRDE)