Namespace SoftZenPdf.Ocr
Classes
- OcrEngineExtensions
Convenience methods for every IOcrEngine.
- OcrLine
A line of recognised words, left to right (or in reading order for right-to-left scripts).
- OcrPage
The text recognised in one image, in reading order.
- OcrParagraph
A paragraph: consecutive lines the engine grouped together.
- OcrPdfCreator
Turns scanned images into searchable PDFs: each image becomes a page with the recognised text laid invisibly over it, word by word, so it can be searched, selected and copied while the page still looks like the scan.
- OcrPdfOptions
Settings for OcrPdfCreator.
- OcrPdfResult
A searchable PDF and the text recognised on each of its pages.
- OcrPdfUpdateResult
The outcome of adding a text layer to an existing PDF.
- OcrWord
A recognised word.
- TesseractOcrEngine
Recognises text with Tesseract 5 (the LSTM engine). One instance loads the language data once and can be reused for any number of images; calls are serialised, so create one engine per thread to recognise images in parallel.
- TesseractOcrOptions
Settings for TesseractOcrEngine.
Structs
- OcrBaseline
The baseline of a line of text, from its left end to its right end, in image pixels from the top-left corner.
- OcrBounds
A rectangle in image pixels, measured from the top-left corner of the image as displayed.
Interfaces
- IOcrEngine
Recognises the text in images. TesseractOcrEngine is the built-in implementation.
Enums
- OcrPageSegmentation
How Tesseract divides an image into blocks, lines and words before recognising them.