Comments (7)
You can find a really simple sample at the project home page:
https://github.com/micjahn/ZXing.Net
Scroll a little bit down until you see the section "Usage examples".
You can download the assemblies from the release section
https://github.com/micjahn/ZXing.Net/releases
or via nuget.
The specific build which you have to use depends on the project which you want to build.
In most cases nuget will do the job for you.
from zxing.net.
hello micjahn,
thanks for answer.
bercode decode code_39
I made some testing with the ZXing barcode reader,
I realize that in many cases it's not so accurate.
I made some comparison with other's professional barcode reader
and I found that ZXing give some less results.
are there some settings options I can add to make better results ?
are there some limits to barcode size (width too long about 13 numric char's ?)
- if I have more than one barcode in page how I can get all barcodes in array or delimited string ?
thanks,
EL
from zxing.net.
I doesn't know your environment but I will try to give some hints.
Every possible option is accessible through the class DecodingOptions which is behind the property Options of the barcode reader class. There are some options for CODE 39. You should play around with this and find the setting which works best for you. The DecodingOptions also contains a property TryHarder which you should set to true if CPU cycle count doesn't matter.
Another important thing is the quality of the image. If you develop an app for a mobile phone you shouldn't use the highest possible resolution of the webcam. Something around 1024x1024 pixels are enough in most cases because the user holds the phone near to the code.
If you develop a desktop app which, for example, reads barcodes from scanned image you have to try out
which resolution gives the best results. Important note don't use the black and white mode of the scanner. Scan it as colored or grayscale image.
For multiple barcodes use the method DecodeMultiple. But ZXing doesn't guarantee that it will find every single barcode on a page.
from zxing.net.
thanks for detailed answer
TryHarder
in #C VS2015 in locals it has an exception (?), I cannot use this option in code also.
is it possible to "help" the decoder, to find only numeric digits(0,1,2,3...,9) ?
may be something charset ?
how to use charset ?
I use on desktop 300DPI black&white (1bpp)
from zxing.net.
What exception do you get with TryHarder?
What do you want to try with "only numbers"? The reader looks for a appropriate barcode and tries to
decode the content. There is no charset or similar for CODE 39.
And as I said before if possible use grayscale images instead of black&white.
from zxing.net.
ZXing accuracy,
I tried ZXing vs 3 others barcode engines ,
in most cases the results where good, but found some barcodes that where looking good, that ZXing could not recognize them (but other engines succeed to recognize),
what is the reason for that ?,
with adding some other settings can help or this is the limit of ZXing ?
at last I succeed to the .options.tryharder =true also, but it did not help.
EMGUcv
I noticed you are using emguCV, for what purpose you use this library ?
from zxing.net.
EmguCV and other imaging libraries are only used by the demo implementations to show how it works. ZXing.Net itself has no dependencies to 3rd party libraries.
Accuracy: ZXing.Net doesn't guarantee that it will find every barcode. Other engines using different algorithms which are better in some circumstances. Feel free to provide a PR which enhance the quality of the scanning process. There are no other options like TryHarder which can be used.
from zxing.net.
Related Issues (20)
- How to improve recognition rate if the barcode is too small? HOT 7
- Need example for QR Scanner on .Net core HOT 1
- how to generate a GS1-128 barcode with parentheses HOT 1
- Unable to read QRCode from scan HOT 1
- Unable to Scan the QRCode in Unity Webgl HOT 1
- UTF-8 not properly detected in some cases - german umlauts corrupted (ASSUME_SHIFT_JIS broken with .Net Core) HOT 9
- MSI barcode reading fails
- RobiniaDocs API Explorer
- A different CODE_39 barcode HOT 1
- Add some unsafe methods? HOT 1
- 0.16.6 vs 0.16.9 HOT 1
- Missing BitmapLuminanceSource in the ZXing.Net Nuget Package: HOT 1
- Version out dated while opening in vs22, using version 4.0 HOT 3
- Scannig QR Code with Oppo devices doesn't work HOT 2
- BitArray.xor() should check length of both arrays HOT 3
- A small log bug HOT 1
- 如何设置条形码的尺寸以及密度 HOT 1
- Renderer for net8.0-android? HOT 4
- ZXing.Net Bindings for SkiaSharp Package missing Linux HOT 4
- Upgrade SkiaSharp - current version had Vulnerabilities HOT 5
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.