zxing-android-embedded
zxing-android-embedded copied to clipboard
Capturing rotated barcodes
Description of the problem:
Zxing handles 90 degrees rotated One dimension barcodes when TRY_HARDER is enabled, but only if the LuminanceSource
implementation return true for isRotateSupported
.
if (tryHarder && image.isRotateSupported()) {
BinaryBitmap rotatedImage = image.rotateCounterClockwise();
...
}
But the PlanarYUVLuminanceSource implementation which is used doesn't implement that.
Would it be possible to handle this feature in this library ?
We're considering using it for the new Open Food Facts app, and 90° support would be very useful to our contributors :)
Did anybody find a workaround? Tried to make both as true - tryHarder and isRotateSupported(). But it doesn't work
We're now using zxing-android-embedded in Open Food Facts :-)