In This Topic
Specifies the OCR context, i.e. the layout type of the data, you want to process using the OCR.
Syntax
'Declaration
<ComVisibleAttribute(True)>
Public Enum OCRContext
Inherits System.Enum
[ComVisible(true)]
public enum OCRContext : System.Enum
public enum OCRContext = class(System.Enum)
ComVisibleAttribute()
public enum OCRContext extends System.Enum
[ComVisible(true)]
__value public enum OCRContext : public System.Enum
[ComVisible(true)]
public enum class OCRContext : public System.Enum
Members
Member | Value | Description |
OCRContextDocument | 0 | For document with variable layout with lines, text or/and images. Recommended and used as the default value. |
OCRContextRawLine | 9 | Treat the image as a single text line, bypassing hacks that are Tesseract-specific. |
OCRContextSegmentationOnly | 10 | Do only the segmentation. Do not recognize any character. |
OCRContextSingleBlock | 2 | For document with single uniform block of text. |
OCRContextSingleBlockVertical | 3 | For document with single uniform block of vertically aligned text. |
OCRContextSingleChar | 7 | For single character image. |
OCRContextSingleColumn | 1 | For single column of text of variable sizes. |
OCRContextSingleLine | 4 | For single text line image. |
OCRContextSingleWord | 5 | For single word image. |
OCRContextSingleWordCircle | 6 | For single word in a circle image. |
OCRContextSparseText | 8 | Find as much text as possible in no particular order. |
OCRContextUnspecified | -1 |
For internal purpose only. Do not use.
|
Inheritance Hierarchy
System.Object
System.ValueType
System.Enum
GdPicture14.OCRContext
See Also