Type alias TwoDDecodingMode

TwoDDecodingMode: "LOW_EFFORT" | "HIGH_EFFORT"

Allows to select the decoding effort to be spent on decoding 2D barcodes. Higher decoding efforts can decode barcodes that are more damaged or have a lower print quality or are printed on non-ideal surfaces (e.g. curved surfaces). However, higher decoding efforts also require more processing time.

  • LOW_EFFORT: Fast decoding mode. This mode provides the fastest decoding speed, but is less likely to decode damaged or low-quality barcodes. Can be used for high-frame-rate scanning where most barcodes are expected to be in good condition or on low processing power devices.
  • HIGH_EFFORT: High-effort decoding mode. This mode provides the highest decoding success rate for damaged or low-quality barcodes, at the cost of a slower decoding speed.