TesseractAnalyseLayout Method |
http://www.emgu.com
Runs page layout analysis in the mode set by SetPageSegMode. May optionally be called prior to Recognize to get access to just the page layout results. Returns an iterator to the results. Returns NULL on error or an empty page. The returned iterator must be deleted after use. WARNING! This class points to data held within the TessBaseAPI class, and therefore can only be used while the TessBaseAPI class still exists and has not been subjected to a call of Init, SetImage, Recognize, Clear, End DetectOS, or anything else that changes the internal PAGE_RES.
Namespace:
Emgu.CV.OCR
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.0.1.3373 (4.0.1.3373)
Syntaxpublic PageIterator AnalyseLayout(
bool mergeSimilarWords = false
)
Public Function AnalyseLayout (
Optional mergeSimilarWords As Boolean = false
) As PageIterator
public:
PageIterator^ AnalyseLayout(
bool mergeSimilarWords = false
)
member AnalyseLayout :
?mergeSimilarWords : bool
(* Defaults:
let _mergeSimilarWords = defaultArg mergeSimilarWords false
*)
-> PageIterator
Parameters
- mergeSimilarWords (Optional)
- Type: SystemBoolean
If true merge similar words
Return Value
Type:
PageIteratorPage iterator
See Also