$extrastylesheet
Functions | |
template<typename I , typename J > | |
document< typename mln::trait::ch_value< I, def::lbl_type >::ret > | scribo::toolchain::content_in_doc (const Image< I > &input, const Image< J > &input_preproc, bool denoise, bool find_line_seps=true, bool find_whitespace_seps=true, bool enable_ocr=true, const std::string &language=std::string("eng"), bool verbose=false) |
template<typename I , typename J > | |
document< typename mln::trait::ch_value< I, def::lbl_type >::ret > | scribo::toolchain::content_in_hdoc (const Image< I > &input, const Image< J > &input_preproc, bool denoise, bool find_line_seps=true, bool find_whitespace_seps=true, bool enable_ocr=true, const std::string &language=std::string("eng")) |
template<typename I > | |
line_set< typename mln::trait::ch_value< I, def::lbl_type >::ret > | scribo::toolchain::text_in_doc (const Image< I > &input, bool denoise, const std::string &language=std::string("eng"), bool find_line_seps=true, bool find_whitespace_seps=true, bool verbose=false) |
Classical processing toolchains for document image.
document<typename mln::trait::ch_value< I , def::lbl_type >::ret> scribo::toolchain::content_in_doc | ( | const Image< I > & | input, |
const Image< J > & | input_preproc, | ||
bool | denoise, | ||
bool | find_line_seps = true , |
||
bool | find_whitespace_seps = true , |
||
bool | enable_ocr = true , |
||
const std::string & | language = std::string("eng") , |
||
bool | verbose = false |
||
) |
Analyse and extract document image content.
[in] | input | A RGB image. |
[in] | input_preproc | A Binary image. |
[in] | denoise | Remove too small components (<= 2 pixels). |
[in] | find_line_seps | Enable/Disable lookup for vertical/horizontal separators. |
[in] | find_whitespace_seps | Enable/Disable lookup for vertical alignments and whitespaces. Helps finding text layout. |
[in] | enable_ocr | Enable/Disable text recognition. |
[in] | language | Main language used in the input document. (OCR settings) |
[in] | verbose | Enable/Disable debug information printed on std::cout. |
document<typename mln::trait::ch_value< I , def::lbl_type >::ret> scribo::toolchain::content_in_hdoc | ( | const Image< I > & | input, |
const Image< J > & | input_preproc, | ||
bool | denoise, | ||
bool | find_line_seps = true , |
||
bool | find_whitespace_seps = true , |
||
bool | enable_ocr = true , |
||
const std::string & | language = std::string("eng") |
||
) |
Analyse and extract content in a historical/degraded document.
[in] | input | A RGB image. |
[in] | input_preproc | A Binary image. |
[in] | denoise | Remove too small components (<= 2 pixels). |
[in] | find_line_seps | Enable/Disable lookup for vertical/horizontal separators. |
[in] | find_whitespace_seps | Enable/Disable lookup for vertical alignments and whitespaces. Helps finding text layout. |
[in] | enable_ocr | Enable/Disable text recognition. |
[in] | language | Main language used in the input document. (OCR settings) |
line_set<typename mln::trait::ch_value< I , def::lbl_type >::ret> scribo::toolchain::text_in_doc | ( | const Image< I > & | input, |
bool | denoise, | ||
const std::string & | language = std::string("eng") , |
||
bool | find_line_seps = true , |
||
bool | find_whitespace_seps = true , |
||
bool | verbose = false |
||
) |
Extract text lines from a document image.
[in] | input | A RGB image. |
[in] | denoise | Remove too small components (<= 2 pixels). |
[in] | language | Main language used in the input document. (OCR settings) |
[in] | find_line_seps | Enable/Disable lookup for vertical/horizontal separators. |
[in] | find_whitespace_seps | Enable/Disable lookup for vertical alignments and whitespaces. Helps finding text layout. |
[in] | verbose | Enable/Disable debug information printed on std::cout. |