Enum BinarizationFilterPreset
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum BinarizationFilterPreset extends Enum<BinarizationFilterPreset>
Preset of parameters for custom binarization filter.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classBinarizationFilterPreset.Companion
-
Enum Constant Summary
Enum Constants Enum Constant Description PRESET_1Very fast, performs well if there are no shadows.
PRESET_2Performs well even if there are shadows. Binarized barcodes typically remain readable.
PRESET_3Performs well even if there are shadows.
PRESET_4Performs well even if there are shadows. Recommended for most use cases involving text documents.
PRESET_5Performs well even if there are shadows. The preset is an upgrade to PRESET_4 that adds special treatment for high contrast objects such as barcodes. Binarized barcodes typically remain readable.
-
Method Summary
Modifier and Type Method Description final StringtoJson()final BinarizationFilterPresetvalueOf(String value)Returns the enum constant of this type with the specified name. final Array<BinarizationFilterPreset>values()Returns an array containing the constants of this enum type, in the order they're declared. -
-
Method Detail
-
valueOf
final BinarizationFilterPreset valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<BinarizationFilterPreset> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
-
-
-