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.2.411
public void ProcessPage(
	OcrPix pix,
	OcrResultRenderer renderer = null,
	string retryConfig = null,
	int timeout = 0,
	string imageName = null,
	int pageIndex = 0


Type: Patagames.OcrOcrPix
The pix is the image processed.
renderer (Optional)
Type: Patagames.OcrOcrResultRenderer
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 (Optional)
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.
timeout (Optional)
Type: SystemInt32
yimeout(milliseconds) terminates processing if any single page takes too long. Set to 0 for unlimited time.
imageName (Optional)
Type: SystemString
imageName is metadata used by side-effect processes, such as reading a box file or formatting as hOCR.
pageIndex (Optional)
Type: SystemInt32
Reserved. Must be 0.
See Also