Click or drag to resize

TesseractProcessPage Method

http://www.emgu.com
Turn a single image into symbolic text.

Namespace:  Emgu.CV.OCR
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public bool ProcessPage(
	Pix pix,
	int pageIndex,
	string filename,
	string retryConfig,
	int timeoutMillisec,
	ITessResultRenderer renderer
)

Parameters

pix
Type: Emgu.CV.OCRPix
The pix is the image processed.
pageIndex
Type: SystemInt32
Metadata used by side-effect processes, such as reading a box file or formatting as hOCR.
filename
Type: SystemString
Metadata used by side-effect processes, such as reading a box file or formatting as hOCR.
retryConfig
Type: SystemString
retryConfig is useful for debugging. If not NULL, you can fall back to an alternate configuration if a page fails for some reason.
timeoutMillisec
Type: SystemInt32
terminates processing if any single page takes too long. Set to 0 for unlimited time.
renderer
Type: Emgu.CV.OCRITessResultRenderer
Responsible for creating the output. For example, use the TessTextRenderer if you want plaintext output, or the TessPDFRender to produce searchable PDF.

Return Value

Type: Boolean
Returns true if successful, false on error.
See Also