Status: New
Owner: ----
New issue 1698 by
eco...@gmail.com: Code 128 reader not recognize code
http://code.google.com/p/zxing/issues/detail?id=1698
ZXing not recognize some codes.
ZXing Vesion - latest.
My code:
BufferedImage image = ImageIO.read(new File(fileName));
LuminanceSource source = new BufferedImageLuminanceSource(image);
Hashtable<DecodeHintType, Object> hints = new Hashtable<DecodeHintType,
Object>(3);
hints.put(DecodeHintType.TRY_HARDER, Boolean.TRUE);
Code128Reader c128 = new Code128Reader();
BinaryBitmap bitmap = new BinaryBitmap(new HybridBinarizer(source));
GenericMultipleBarcodeReader reader = new
GenericMultipleBarcodeReader(c128);
Result[] results = reader.decodeMultiple(bitmap, hints);
for (Result res : results)
{
System.out.println(res.toString());
}
Coded string:
A01L05XATAL0ICL
Attachments:
5_.jpg 1.1 MB
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings