OCRSpecialContext Enumeration
In This Topic
A special context allows triggering a specific layout analysis and OCR engines in order to maximize accuracy and speed on the detection of specific items.
Special context can be added on demand to our team of researchers, feel free to contact us!
Syntax
'Declaration
<ComVisibleAttribute(True)>
Public Enum OCRSpecialContext
Inherits System.Enum
[ComVisible(true)]
public enum OCRSpecialContext : System.Enum
public enum OCRSpecialContext = class(System.Enum)
ComVisibleAttribute()
public enum OCRSpecialContext extends System.Enum
[ComVisible(true)]
__value public enum OCRSpecialContext : public System.Enum
[ComVisible(true)]
public enum class OCRSpecialContext : public System.Enum
Members
Member | Value | Description |
AlphaNumAllCapsML | 8 |
Specifies that the image or region of interest contains only numeric symbols and capital letters in the range [A - Z].
This context is based on the GdPicture machine learning framework.
To be used this context requires the alphanum_allcaps.gdpictureml file available into the specified resource folder (see GdPicture OCR.ResourcesFolder property).
|
HandwrittenNumericBoxML | 7 |
Specifies that the image or region of interest contains adjacent cells where each cell contains a single handwritten digit.
This context is based on the GdPicture machine learning framework.
To be used this context requires the hw_digits_boxes.gdpictureml file available into the specified resource folder (see GdPicture OCR.ResourcesFolder property).
|
MICRLineCMC7 | 5 |
Specifies that the image or region of interest contains a special magnetic ink character recognition code zone (MICR), using MICR font.
|
MICRLineE13B | 4 |
Specifies that the image or region of interest contains a special magnetic ink character recognition code zone (MICR), using E13B font.
|
MRZ | 3 |
Specifies that the image or region of interest contains a special machine-readable zone (MRZ).
To be used this context requires the ocrb.traineddata file available into the specified resource folder (see GdPicture OCR.ResourcesFolder property).
|
None | 0 |
Specifies no special context.
|
NumericLineML | 6 |
Specifies that the image or region of interest contains a line having only numeric symbols.
This context is based on the GdPicture machine learning framework.
To be used this context requires the digits.gdpictureml file available into the specified resource folder (see GdPicture OCR.ResourcesFolder property).
|
OneOrTwoNumerics | 1 |
Specifies that the image or region of interest contains one or two numeric symbols which must be decoded.
To be used this context requires the sp1.traineddata file available into the specified resource folder (see GdPicture OCR.ResourcesFolder property).
|
SingleLineNumerics | 2 |
Specifies that the image or region of interest contains a line having only numeric symbols.
To be used this context requires the sp1.traineddata file available into the specified resource folder (see GdPicture OCR.ResourcesFolder property).
|
Inheritance Hierarchy
System.Object
System.ValueType
System.Enum
GdPicture14.OCRSpecialContext
See Also