Reference Guide
GdPicture14 Namespace / OCRSpecialContext Enumeration





In This Topic
    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
    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.ResourceFolder 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.ResourceFolder 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.ResourceFolder 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.ResourceFolder 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.ResourceFolder property).
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             GdPicture14.OCRSpecialContext

    See Also