Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DetectionResult

author

Guenther Grau

Hierarchy

  • DetectionResult

Index

Constructors

constructor

Properties

ADJUST_ROW_NUMBER_SKIP

ADJUST_ROW_NUMBER_SKIP: int = 2

Private barcodeColumnCount

barcodeColumnCount: int

Private barcodeMetadata

barcodeMetadata: BarcodeMetadata

Private boundingBox

boundingBox: BoundingBox

Private detectionResultColumns

detectionResultColumns: DetectionResultColumn[]

Methods

Private adjustIndicatorColumnRowNumbers

Private adjustRowNumbers

  • adjustRowNumbers(barcodeColumn: int, codewordsRow: int, codewords: Codeword[]): void

Private adjustRowNumbersAndGetCount

  • adjustRowNumbersAndGetCount(): int
  • Returns int

    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 adjustRowNumbersByRow

  • adjustRowNumbersByRow(): int

Private adjustRowNumbersFromBothRI

  • adjustRowNumbersFromBothRI(): void

Private adjustRowNumbersFromLRI

  • adjustRowNumbersFromLRI(): int

Private adjustRowNumbersFromRRI

  • adjustRowNumbersFromRRI(): int

getBarcodeColumnCount

  • getBarcodeColumnCount(): int

getBarcodeECLevel

  • getBarcodeECLevel(): int

getBarcodeRowCount

  • getBarcodeRowCount(): int

getBoundingBox

getDetectionResultColumn

getDetectionResultColumns

setBoundingBox

setDetectionResultColumn

toString

  • toString(): String

Static Private adjustRowNumber

Static Private adjustRowNumberIfValid

  • adjustRowNumberIfValid(rowIndicatorRowNumber: int, invalidRowCounts: int, codeword: Codeword): int

Generated using TypeDoc