Open ola-skorp opened 4 years ago
Duplicate of #485.
This appears to be a weird form of datamatrix:
You can work around the first issue by inverting the image before scanning (see #485), but not sure if you can do anything about the second issue.
Thank you, but I need to scan in real time and I even don't know what barcode a user wants to scan therefore I can't invert the image I need to invert
There is an option for a "mixed" mode - see this sample: https://github.com/journeyapps/zxing-android-embedded/blob/e48229ac3f47318e4b5516c645147d7dea37dc28/sample/src/main/java/example/zxing/MainActivity.java#L42
The mixed mode alternates between scanning the normal image and inverted image, meaning that scanning barcodes may be slower, but will cover both normal and inverted ones.
ZXing doesn’t support DataMatrix DPM(Direct Part Marking, Dot Peer Marking) barcodes. Mixed/inverted mode makes no difference.
implementation('com.journeyapps:zxing-android-embedded:4.1.0') { transitive = false } implementation 'com.google.zxing:core:3.3.0'
Here is the barcode I can't scan https://ibb.co/9ZYGvp8 This app can't scan it too https://play.google.com/store/apps/details?id=com.google.zxing.client.android&hl=en
How can I scan this barcode?