com.aspose.barcode.barcoderecognition

Class ManualHint

  • java.lang.Object
    • com.aspose.barcode.barcoderecognition.ManualHint

  • Deprecated. 
    Use QualitySettings instead.


    @Deprecated
    public final class ManualHint
    extends java.lang.Object

    Manual hints.

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int COMPLEX_BACKGROUND
      Deprecated. 
      Use QualitySettings.getAllowComplexBackground() instead.
      static int INCORRECT_BARCODES
      Deprecated. 
      Use QualitySettings.getAllowIncorrectBarcodes() instead.
      static int INVERT_IMAGE
      Deprecated. 
      Use QualitySettings.getAllowInvertImage() instead.
      static int MEDIAN_SMOOTHING
      Deprecated. 
      Use QualitySettings.getAllowMedianSmoothing() instead.
      static int NONE
      Deprecated. 
      Don't use it, value is ignored.
      static int SKIP_ROTATED_BARCODES
      Deprecated. 
      Don't use it, value is ignored.
      static int SPECIAL_FORM_OF_CELLS
      Deprecated. 
      Use QualitySettings.getAllowDatamatrixIndustrialBarcodes() instead.
      static int USE_REGULAR
      Deprecated. 
      Use QualitySettings.getAllowRegularImage() instead. This value is ignored.
      static int USE_RESTORATION
      Deprecated. 
      Don't use it, value is ignored.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static java.lang.String getManualHintName(int manualHints)
      Deprecated. 
       
      static int getManualHintValue(java.lang.String manualHints)
      Deprecated. 
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • NONE

        @Deprecated
        public static final int NONE
        Deprecated. Don't use it, value is ignored.

        There are no heavy recognition algorithms. The fastest recognition algorithms are used there, however if image is noisy recognition will fail. Used by default.

        See Also:
        Constant Field Values
      • INVERT_IMAGE

        public static final int INVERT_IMAGE
        Deprecated. Use QualitySettings.getAllowInvertImage() instead.

        Use when image is white on black background. Typically BarCode images are black on white background.

        See Also:
        Constant Field Values
      • INCORRECT_BARCODES

        public static final int INCORRECT_BARCODES
        Deprecated. Use QualitySettings.getAllowIncorrectBarcodes() instead.

        Addition algorithms are included to recognize incorrectly generated or damaged barcodes (skipped bars, stop symbol, etc). May return deniable recognition.

        See Also:
        Constant Field Values
      • COMPLEX_BACKGROUND

        public static final int COMPLEX_BACKGROUND
        Deprecated. Use QualitySettings.getAllowComplexBackground() instead.

        Analyzes barcode background. Useful with complex or colored backgrounds.

        See Also:
        Constant Field Values
      • MEDIAN_SMOOTHING

        public static final int MEDIAN_SMOOTHING
        Deprecated. Use QualitySettings.getAllowMedianSmoothing() instead.

        MEDIAN_SMOOTHING. Works with BarcodeReader's MedianSmoothingWindowSize property.

        See Also:
        Constant Field Values
      • USE_RESTORATION

        public static final int USE_RESTORATION
        Deprecated. Don't use it, value is ignored.

        Starts recognition using only the restoration algorithms from MaxQuality mode.

        See Also:
        Constant Field Values
      • USE_REGULAR

        public static final int USE_REGULAR
        Deprecated. Use QualitySettings.getAllowRegularImage() instead. This value is ignored.

        Starts recognition using algorithms from MaxPerfomance mode. Useful to combine with other hints.

        See Also:
        Constant Field Values
      • SPECIAL_FORM_OF_CELLS

        public static final int SPECIAL_FORM_OF_CELLS
        Deprecated. Use QualitySettings.getAllowDatamatrixIndustrialBarcodes() instead.
        Starts recognition barcodes with the special form of cells. Example: dot peen Datamatrix. The MaxQuality mode includes this flag by default.
        See Also:
        Constant Field Values
      • SKIP_ROTATED_BARCODES

        public static final int SKIP_ROTATED_BARCODES
        Deprecated. Don't use it, value is ignored.

        Switches off algorithms of rotating and so increases the recognition speed. It works only for Datamatrix and linear barcodes.

        See Also:
        Constant Field Values
    • Method Detail

      • getManualHintName

        public static java.lang.String getManualHintName(int manualHints)
        Deprecated. 
      • getManualHintValue

        public static int getManualHintValue(java.lang.String manualHints)
        Deprecated.