Class DetectionResultRowIndicatorColumn
Represents a Column in the Detection Result
public sealed class DetectionResultRowIndicatorColumn : DetectionResultColumn
- Inheritance
-
DetectionResultRowIndicatorColumn
- Inherited Members
Constructors
DetectionResultRowIndicatorColumn(BoundingBox, bool)
Initializes a new instance of the DetectionResultRowIndicatorColumn class.
public DetectionResultRowIndicatorColumn(BoundingBox box, bool isLeft)
Parameters
box
BoundingBoxBox.
isLeft
boolIf set to
true
is left.
Properties
IsLeft
Gets or sets a value indicating whether this instance is the left indicator
public bool IsLeft { get; set; }
Property Value
- bool
true
if this instance is left; otherwise,false
.
Methods
ToString()
Returns a string that represents the current DetectionResultRowIndicatorColumn.
public override string ToString()
Returns
- string
A string that represents the current DetectionResultRowIndicatorColumn.
adjustCompleteIndicatorColumnRowNumbers(BarcodeMetadata)
TODO implement properly TODO maybe we should add missing codewords to store the correct row number to make finding row numbers for other columns easier use row height count to make detection of invalid row numbers more reliable
public void adjustCompleteIndicatorColumnRowNumbers(BarcodeMetadata metadata)
Parameters
metadata
BarcodeMetadataMetadata.
getBarcodeMetadata()
Gets the barcode metadata.
public BarcodeMetadata getBarcodeMetadata()
Returns
- BarcodeMetadata
The barcode metadata.
getRowHeights()
Gets the row heights.
public int[] getRowHeights()
Returns
- int[]
The row heights.