public enum ComplexBackgroundMode extends java.lang.Enum<ComplexBackgroundMode>
Mode which enables or disables additional recognition of color barcodes on color images.
This sample shows how to use ComplexBackground modeBarCodeReader reader = new BarCodeReader(@"c:\test.png", DecodeType.CODE_39_EXTENDED, DecodeType.CODE_128); reader.getQualitySettings().setComplexBackground(ComplexBackgroundMode.ENABLED); for(BarCodeResult result : reader.readBarCodes()) System.out.println(result.getCodeText());
Enum Constant and Description |
---|
AUTO
At this time the same as Disabled.
|
DISABLED
Disables additional recognition of color barcodes on color images.
|
ENABLED
Enables additional recognition of color barcodes on color images.
|
Modifier and Type | Method and Description |
---|---|
static ComplexBackgroundMode |
fromValue(int value) |
int |
getValue() |
static ComplexBackgroundMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ComplexBackgroundMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComplexBackgroundMode AUTO
At this time the same as Disabled. Disables additional recognition of color barcodes on color images.
public static final ComplexBackgroundMode DISABLED
Disables additional recognition of color barcodes on color images.
public static final ComplexBackgroundMode ENABLED
Enables additional recognition of color barcodes on color images.
public static ComplexBackgroundMode[] values()
for (ComplexBackgroundMode c : ComplexBackgroundMode.values()) System.out.println(c);
public static ComplexBackgroundMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
public static ComplexBackgroundMode fromValue(int value)