Comments (5)
Hello,
Zxing tries to detect and decode barcode/qrcode/any other formats of the codes in your given Rectangle section.
Zxing detects something which is not barcode or qrcode but resembles or looks like barcodes or qrcodes. Can be text which resembles like barcode or b/w logo which might look like barcode for ZXing and others, and due to this it decodes something from this False Positive detection.
Try to draw what it has found and you will get more info on what it detected and decoded.
NOTE : these are my observations found from using ZXing for Net.
Also, you could also use and try to decode again with MultiFormatReader, and not just Simple BarcodeReader.
var source = new BitmapLuminanceSource(bitmap);
var binaryBitmap = new BinaryBitmap(new HybridBinarizer(source));
var reader = new MultiFormatReader();
var hints = new Dictionary<DecodeHintType, object>();
hints.Add(DecodeHintType.TRY_HARDER, true);
reader.Hints = hints;
var scan = reader.decode(binaryBitmap, hints);
from zxing.net.
I tried this code, but it didn't help. Now reader has started to define the qar code as PHARMA_CODE.
from zxing.net.
Hello,
If possible please share the image file and not just the rectangular section and I would try to decode and get back to you.
Also, post what exactly you want to decode from this, if you know what it contains and if not confidential.
from zxing.net.
There should be 5 fields in the QR_CODE. I am attaching the file below.
forIssue.pdf
from zxing.net.
Hello,
I have tried to decode and decoded UPC_E value, and I think it is not correct.
- Check on how your pdf is generated.
- Check what kind of error correction is encoded with the QRcode (Low, Medium or High) .
- If it is converted from jpg/tiff to pdf then the compression in the image may cause decoding failure.
from zxing.net.
Related Issues (20)
- UPC/EAN Extension 2/5 does not read the 2/5 digit extension
- Can someone finally fix the example usage in README?
- Don't decode QR_CODE HOT 3
- ZXing.Net doesn't seem to be able scan more complicated PDF417 barcodes HOT 12
- EPC QR Code (European Payments Council) Not Decoded HOT 3
- Support for Latin-1 in BARCODE-128 HOT 4
- Upgrade SixLabors.ImageSharp - current version has vulnerabilities HOT 1
- UPC_A's error message is wrong.
- The image for PLESSEY is vertically tiny. HOT 6
- The sides of UPC_A's image could be slightly cut out. HOT 1
- Centering PDF_417 Barcodes and Unstable Width/Height HOT 1
- Barcode as small part of image HOT 1
- Barcode generator: unpredictable whitespace padding around it depending on requested Width
- Upgrading to Magick.Net 13.7.0 breaks ZXing.Magick HOT 1
- ZXing for WinUI-3 HOT 1
- Barcode DATA_MATRIX code = BCD88888888-1 to BCD88888888-99 Don't look right they are not a sqaure
- Undecodable QR code generated
- Cannot create GenericMultipleBarcodeReader from ZXing.OpenCV.BarcodeReader HOT 2
- Digitally sign ZXing NuGet package assemblies HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zxing.net.