Click or drag to resize

OcrApiProcessPages Method

Turns images into symbolic text.

Namespace:  Patagames.Ocr
Assembly:  Patagames.Ocr (in Patagames.Ocr.dll) Version: 4.2.411
Syntax
public void ProcessPages(
	string filename,
	OcrResultRenderer renderer = null,
	string retryConfig = null,
	int timeout = 0
)

Parameters

filename
Type: SystemString
filename can point to a single image, a multi-page TIFF, or a text file which contain plain text list of image filenames.
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
timeout(milliseconds) terminates processing if any single page takes too long. Set to 0 for unlimited time.
See Also