Boundary and Point Properties
When a barcode on an incoming image is detected, five properties of the ImGearBarcode.Result class detect the outer parameters of the barcode. They mark both the boundary dimensions and the corner points of the barcode. Height, Width and Area properties describe the boundaries of the barcode rectangle. Point properties are used to identify corner points of the barcode on the image. Point properties 1 through 4 locate the corner points of linear 1D Barcodes.
- When the barcode is in the horizontal orientation, it is read from left to right, assigning values to the Point 1 through 4 properties. The Point1 property is the upper-left corner point of the barcode.
- The boundary and corner point properties describe a rectangle area for the barcode on the image. The Skew property returns the angle of the barcode.
With any rotation of the barcode on the image, the Point value assigned to the corners rotate with the barcode. No matter what the rotation is, the Point properties always identify the same corner point of the barcode. If the barcode is rotated 180 degrees, the Point value for the corner remains. Point1 is now the bottom-right corner; but its value is still 1.