UNPKG

@zxing/library

Version:

TypeScript port of ZXing multi-format 1D/2D barcode image processing library.

18 lines (17 loc) 529 B
import { int } from '../../../customTypings'; /** * @author Guenther Grau */ export default class BarcodeValue { private values; /** * Add an occurrence of a value */ setValue(value: int): void; /** * Determines the maximum occurrence of a set value and returns all values which were set with this occurrence. * @return an array of int, containing the values with the highest occurrence, or null, if no value was set */ getValue(): Int32Array; getConfidence(value: int): int; }