Click or drag to resize

OcrApiProcessPage Method

Turn a single image into symbolic text.

Namespace: Patagames.Ocr
Assembly: Patagames.Ocr (in Patagames.Ocr.dll) Version: 4.6.411
Syntax
public void ProcessPage(
	OcrPix pix,
	OcrResultRenderer renderer = null,
	string retryConfig = null,
	int timeout = 0,
	string imageName = null,
	int pageIndex = 0
)

Parameters

pix  OcrPix
The pix is the image processed.
renderer  OcrResultRenderer  (Optional)
renderer is responible for creating the output. For example, use the OcrTextRenderer if you want plaintext output, or the OcrPdfRenderer to produce searchable PDF.
retryConfig  String  (Optional)
retryConfig is useful for debugging. If not NULL, you can fall back to an alternate configuration if a page fails for some reason.
timeout  Int32  (Optional)
yimeout(milliseconds) terminates processing if any single page takes too long. Set to 0 for unlimited time.
imageName  String  (Optional)
imageName is metadata used by side-effect processes, such as reading a box file or formatting as hOCR.
pageIndex  Int32  (Optional)
Reserved. Must be 0.
See Also