Through ResultPoints, you have sides of the barcode. Through the WhiteRectangleDetector (WRDet) you have the y coordinate of the vertex and the height of the barcode. Combining all this information, you get the exact coordinates!
Explicit exception:
- left-top: y top WRDet, x ResultPoint
- right-top: y top WRDet, x ResultPoint
- left-bottom: y top WRDet + height WRDet, x ResultPoint
- right-bottom: y top WRDet + height WRDet, x ResultPoint
ResultPoints WRDet, WRDet , -. :
public WhiteRectangleDetector(BitMatrix image, int initSize, int x, int y)
, x ResultPoint, y y .
, , WhiteRectangleDetector . , , . , 1D .
WhiteRectangleDetector 2D- ( ), , , , .