Comments (16)
Sean, huge fan of zxing!
I was wondering if pdf417 still needs error correction.. also... how can I go about proposing a change in the pdf417 scanning decoder??
from zxing.
Yes, it basically does error correction, but not erasure. I know, the latter should be easier. I forget what the issue was now but I just could not figure out why the implementation didn't get erasures. So it has error correction, but suboptimal.
from zxing.
So.. I messed around with ErrorCorrection and changed it to use Berlekamp–Massey as opposed to the Euclidean algorithm. It seems to work well with errors and erasures so that would remove the need to use the ambiguous values list. Would you be interested in incorporating this? I'm not very experienced in working with open source projects :S
from zxing.
Well if it works it works. Is Berlekamp Massey really a replacement for the
simple Euclidean algorithm though? If deviating from the spec, it would be
important to have some good unit tests in place to detect whether it's
working. The test images to date do not exercise the EC much. If you've got
the time and energy, this alone would be a great contribution. And if there
is then a change in the code that provably improves the results, that's
great.
On Mon, Mar 24, 2014 at 3:04 PM, angelnar87 [email protected]:
So.. I messed around with ErrorCorrection and changed it to use
Berlekamp–Massey as opposed to the Euclidean algorithm. It seems to work
well with errors and erasures so that would remove the need to use the
ambiguous values list. Would you be interested in incorporating this? I'm
not very experienced in working with open source projects :S—
Reply to this email directly or view it on GitHubhttps://github.com//issues/21#issuecomment-38455074
.
from zxing.
This has been on my to do list for a long time. I'd definitely be interested in seeing this. I don't think that integration is straight forward as we need to decide when it's best to guess a value vs leaving the value empty. As we can have twice as many missing values compared to incorrect values, we might want to gather some experience first, when to chose which. I have quite a few samples which do exercise error correction quite a lot (can't share them, unfortunately).
from zxing.
@srowen It shouldn't really matter which algorithm we use. The papers I found about both algorithms show that they produce the same results. More test cases for error correction and especially for missing values would be much appreciated. I might be able to produce a few myself, once the code is there.
from zxing.
Berlekamp Massey is just another way to calculate the error polynomial including the missing values. its the one i was able to get my hands on and understand. and yes!, integration is not really straight forward as graug stated... maybe we can use some sort of threshold on the value count so that if it has more than a couple of ambiguous values, then it becomes an erasure...
from zxing.
What's needed to compile zxing?? since moving to java 7 i can no longer use eclipse (I haven't really devoted time to research this)
from zxing.
It compiles fine via Maven, which is the build system for the project.
IntelliJ has no problem integrating with it. Is it some Eclipse problem? I
strongly recommend IntelliJ over Eclipse anyway, but, I don't see any
reason the project shouldn't compile with anything that uses Maven.
On Mon, Mar 24, 2014 at 3:26 PM, angelnar87 [email protected]:
What's needed to compile zxing?? since moving to java 7 i can no longer
use eclipse (I haven't really devoted time to research this)—
Reply to this email directly or view it on GitHubhttps://github.com//issues/21#issuecomment-38457740
.
from zxing.
I haven't tried it recently, but I don't see a reason why it shouldn't work with eclipse and java7. What kind of error are you encountering?
from zxing.
Oh... its not a big deal.. its mostly about the android sdk not being compatible with java 7. I've heard of IntelliJ so I got my hands on Android Studio.. I just need to move my projects from Eclipse to "anything that will allow me to use java 7" ...
from zxing.
The Android SDK is most certainly compatible with Java 7. Example: zxing :)
Or else, how am I releasing Android apps using Java 7 now?
On Mon, Mar 24, 2014 at 3:58 PM, angelnar87 [email protected]:
Oh... its not a big deal.. its mostly about the android sdk not being
compatible with java 7. I've heard of IntelliJ so I got my hands on Android
Studio.. I just need to move my projects from Eclipse to "anything that
will allow me to use java 7" ...—
Reply to this email directly or view it on GitHubhttps://github.com//issues/21#issuecomment-38462215
.
from zxing.
Black magic at its finest my friend! ... I will try to check out my changes in the next couple of days
from zxing.
So, I'm trying to push my changes but I'm getting a 403 error.... any clues?? I've tried to solve this but I haven't gotten anywhere... :(
from zxing.
Push changes to this repo? no you can't do that. You can push changes to your fork of this repo and open a pull request though.
from zxing.
gotcha!
from zxing.
Related Issues (20)
- Allow gen-delims and sub-delims HOT 8
- > That decodes as you expect with this library. The result is `https://qr.sbw.media/[0Li9` I think you're talking about something else, like an app and how it renders URLs. HOT 1
- pdf417 encode error java.lang.ArrayIndexOutOfBoundsException when using CHARACTER_SET ISO-8859-15 HOT 1
- Detector can't detector qrcode
- PDF417 reader early returns with multiple codes on a page HOT 2
- The QR code has black squares. HOT 1
- Don't decode QR_CODE. HOT 2
- scan record miss
- Why zxing can not decode this qrcode image? HOT 1
- Letters in Croatian ćčšžšđ HOT 1
- H
- Fatal Exception: java.lang.ArrayIndexOutOfBoundsException: length=11664; index=11664
- MultiFormatReader unable to decode simple data matrix code (C#) HOT 1
- Fatal Exception: java.lang.ArrayIndexOutOfBoundsException: length=11664; index=11664
- Page not responding : https://zxing.github.io/zxing/core/index.html HOT 2
- Open scue code
- Zxing is not working with PDF417 for south african driving licenses HOT 2
- issue about scanning
- com.google.zxing.client.android.encode.QRCodeEncoder.encodeFromStreamExtra HOT 3
- How to get zxingorg 3.5.3-SNAPSHOT entity package HOT 6
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.