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.0.1.3373 (4.0.1.3373)
Syntaxpublic bool ProcessPage(
Pix pix,
int pageIndex,
string filename,
string retryConfig,
int timeoutMillisec,
ITessResultRenderer renderer
)
Public Function ProcessPage (
pix As Pix,
pageIndex As Integer,
filename As String,
retryConfig As String,
timeoutMillisec As Integer,
renderer As ITessResultRenderer
) As Boolean
public:
bool ProcessPage(
Pix^ pix,
int pageIndex,
String^ filename,
String^ retryConfig,
int timeoutMillisec,
ITessResultRenderer^ renderer
)
member ProcessPage :
pix : Pix *
pageIndex : int *
filename : string *
retryConfig : string *
timeoutMillisec : int *
renderer : ITessResultRenderer -> bool
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:
BooleanReturns true if successful, false on error.
See Also