hi ,
first thanks for the code.
I have an image of a UPC symbol and am trying to process it. It is in the form of a jpeg file 785 X 446 pixels. I try the following and i get a Invalid_Exception:
Rectangle rect = new Rectangle(5, 5,
image.getWidth(null)-5, mage.getHeight(null)-5);
Barcode barcode =
JBarcode_Recognition.GetBarcode(buffImage,
rect, 0.0,
JBarcode_Recognition.VERTICAL,
JBarcode_Recognition.NO_COLOUR_INVERT,
JBarcode_Recognition.NO_DIRECTION_REVERSE,
Barcode.BT_UPC_A);
Any help or pointers appreciated,
Thanks
ramshri
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi ,
first thanks for the code.
I have an image of a UPC symbol and am trying to process it. It is in the form of a jpeg file 785 X 446 pixels. I try the following and i get a Invalid_Exception:
Rectangle rect = new Rectangle(5, 5,
image.getWidth(null)-5, mage.getHeight(null)-5);
Barcode barcode =
JBarcode_Recognition.GetBarcode(buffImage,
rect, 0.0,
JBarcode_Recognition.VERTICAL,
JBarcode_Recognition.NO_COLOUR_INVERT,
JBarcode_Recognition.NO_DIRECTION_REVERSE,
Barcode.BT_UPC_A);
Any help or pointers appreciated,
Thanks
ramshri
It appears that profram is unable to decode the image, can you send the image, so I can investigate.
Thanks
Andi