XDimensionMode

Inheritance: java.lang.Object, java.lang.Enum

public enum XDimensionMode extends Enum<XDimensionMode>

Recognition mode which sets size (from 1 to infinity) of barcode minimal element: matrix cell or bar.


This sample shows how to use XDimension mode
  
  BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_39_EXTENDED, DecodeType.CODE_128);
  reader.getQualitySettings().setXDimension(XDimensionMode.SMALL);
  for(BarCodeResult result : reader.readBarCodes())
     System.out.println(result.getCodeText());

Fields

FieldDescription
AUTOValue of XDimension is detected by AI (SVM).
LARGEDetects barcodes with large XDimension with quality from BarcodeQuality captured with high-resolution cameras.
NORMALDetects barcodes with classic XDimension in 2 pixels or more with quality from BarcodeQuality or high quality barcodes.
SMALLDetects barcodes with small XDimension in 1 pixel or more with quality from BarcodeQuality
USE_MINIMAL_X_DIMENSIONDetects barcodes from size set in MinimalXDimension with quality from BarcodeQuality

Methods

MethodDescription
valueOf(Class arg0, String arg1)
compareTo(E arg0)
equals(Object arg0)
fromValue(int value)
getClass()
getDeclaringClass()
getValue()
hashCode()
name()
notify()
notifyAll()
ordinal()
toString()
valueOf(String name)
values()
wait()
wait(long arg0)
wait(long arg0, int arg1)

AUTO

public static final XDimensionMode AUTO

Value of XDimension is detected by AI (SVM). At this time the same as Normal

LARGE

public static final XDimensionMode LARGE

Detects barcodes with large XDimension with quality from BarcodeQuality captured with high-resolution cameras.

NORMAL

public static final XDimensionMode NORMAL

Detects barcodes with classic XDimension in 2 pixels or more with quality from BarcodeQuality or high quality barcodes.

SMALL

public static final XDimensionMode SMALL

Detects barcodes with small XDimension in 1 pixel or more with quality from BarcodeQuality

USE_MINIMAL_X_DIMENSION

public static final XDimensionMode USE_MINIMAL_X_DIMENSION

Detects barcodes from size set in MinimalXDimension with quality from BarcodeQuality

valueOf(Class arg0, String arg1)

public static T <T>valueOf(Class<T> arg0, String arg1)

Parameters:

ParameterTypeDescription
arg0java.lang.Class
arg1java.lang.String

Returns: T

compareTo(E arg0)

public final int compareTo(E arg0)

Parameters:

ParameterTypeDescription
arg0E

Returns: int

equals(Object arg0)

public final boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

fromValue(int value)

public static XDimensionMode fromValue(int value)

Parameters:

ParameterTypeDescription
valueint

Returns: XDimensionMode

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getDeclaringClass()

public final Class<E> getDeclaringClass()

Returns: java.lang.Class

getValue()

public int getValue()

Returns: int

hashCode()

public final int hashCode()

Returns: int

name()

public final String name()

Returns: java.lang.String

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

ordinal()

public final int ordinal()

Returns: int

toString()

public String toString()

Returns: java.lang.String

valueOf(String name)

public static XDimensionMode valueOf(String name)

Parameters:

ParameterTypeDescription
namejava.lang.String

Returns: XDimensionMode

values()

public static XDimensionMode[] values()

Returns: com.aspose.barcode.barcoderecognition.XDimensionMode[]

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int