BinarizationFilterPreset

Preset of parameters for custom binarization filter.

Entries

Link copied to clipboard

Very fast, performs well if there are no shadows.

Link copied to clipboard

Performs well even if there are shadows. Binarized barcodes typically remain readable.

Link copied to clipboard

Performs well even if there are shadows.

Link copied to clipboard

Performs well even if there are shadows. Recommended for most use cases involving text documents.

Link copied to clipboard

Performs 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.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

Link copied to clipboard
fun toJson(): String
Link copied to clipboard

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.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.