Im using Zxing to read EAN128 on tiff files in JAVA.
There is about 2% of the bar code that are not recognize by my application.
Im using the latest version. I have tried to recognize the code with phone apps and it work properly.
I am using TwelveMonkeys imageio to get a BufferedImage from the tiff file,
then i transform it to a BinaryBitmap
LuminanceSource source = new BufferedImageLuminanceSource(bufferedImage);
BinaryBitmap fullBinaryBitmap = new BinaryBitmap(new HybridBinarizer(source));
And i search the bar code with
Map<DecodeHintType, Object> hintMap = new HashMap<DecodeHintType, Object();
hintMap.put(DecodeHintType.TRY_HARDER, true);
genericMultipleBarcodeReader.decodeMultiple(binaryBitmap, hintMap);
Please, find in attachment an example.
Did i miss something ?
Regards
I don't think i will find an easy solution for this problem, I guess i will have to try other SDK
Anyway, thank you a lot for taking the time to check what could be wrong with my sample.
Regards