Enum OcrPageSegmentation
- Namespace
- SoftZenPdf.Ocr
- Assembly
- SoftZenPdf.Ocr.dll
How Tesseract divides an image into blocks, lines and words before recognising them.
public enum OcrPageSegmentation
Fields
Auto = 0Find columns, blocks and lines automatically. Best for whole pages.
SingleColumn = 1Treat the image as a single column of text of variable sizes.
SingleBlock = 2Treat the image as one uniform block of text.
SingleLine = 3Treat the image as a single line of text.
SingleWord = 4Treat the image as a single word.
SparseText = 5Find as much text as possible in no particular order, such as labels on a form or receipt.