Houjie
2025-07-24 52a3ff1bce1417b39f6872d8e8cb378e9c2ccc6f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import BoundingBox from './BoundingBox';
import BarcodeMetadata from './BarcodeMetadata';
import DetectionResultColumn from './DetectionResultColumn';
import { int } from '../../../customTypings';
/**
 * @author Guenther Grau
 */
export default class DetectionResult {
    ADJUST_ROW_NUMBER_SKIP: int;
    private barcodeMetadata;
    private detectionResultColumns;
    private boundingBox;
    private barcodeColumnCount;
    constructor(barcodeMetadata: BarcodeMetadata, boundingBox: BoundingBox);
    getDetectionResultColumns(): DetectionResultColumn[];
    private adjustIndicatorColumnRowNumbers;
    /**
     * @return number of codewords which don't have a valid row number. Note that the count is not accurate as codewords
     * will be counted several times. It just serves as an indicator to see when we can stop adjusting row numbers
     */
    private adjustRowNumbersAndGetCount;
    private adjustRowNumbersByRow;
    private adjustRowNumbersFromBothRI;
    private adjustRowNumbersFromRRI;
    private adjustRowNumbersFromLRI;
    private static adjustRowNumberIfValid;
    private adjustRowNumbers;
    /**
     * @return true, if row number was adjusted, false otherwise
     */
    private static adjustRowNumber;
    getBarcodeColumnCount(): int;
    getBarcodeRowCount(): int;
    getBarcodeECLevel(): int;
    setBoundingBox(boundingBox: BoundingBox): void;
    getBoundingBox(): BoundingBox;
    setDetectionResultColumn(barcodeColumn: int, detectionResultColumn: DetectionResultColumn): void;
    getDetectionResultColumn(barcodeColumn: int): DetectionResultColumn;
    toString(): String;
}