In This Topic
GdPicture14 Namespace / OCRSpecialContext Enumeration

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
MemberValueDescription
AlphaNumAllCapsML8 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).
HandwrittenNumericBoxML7 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).
MICRLineCMC75 Specifies that the image or region of interest contains a special magnetic ink character recognition code zone (MICR), using MICR font.
MICRLineE13B4 Specifies that the image or region of interest contains a special magnetic ink character recognition code zone (MICR), using E13B font.
MRZ3 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).
None0 Specifies no special context.
NumericLineML6 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).
OneOrTwoNumerics1 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).
SingleLineNumerics2 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