-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDF417 needs error correction #21
Comments
Sean, huge fan of 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. |
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 |
Well if it works it works. Is Berlekamp Massey really a replacement for the On Mon, Mar 24, 2014 at 3:04 PM, angelnar87 notifications@github.comwrote:
|
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). |
@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. |
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... |
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) |
It compiles fine via Maven, which is the build system for the project. On Mon, Mar 24, 2014 at 3:26 PM, angelnar87 notifications@github.comwrote:
|
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? |
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" ... |
The Android SDK is most certainly compatible with Java 7. Example: zxing :) On Mon, Mar 24, 2014 at 3:58 PM, angelnar87 notifications@github.comwrote:
|
Black magic at its finest my friend! ... I will try to check out my changes in the next couple of days |
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... :( |
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. |
gotcha! |
Resolve ImageReaderSource memory leak
This is a to-do reminder that PDF 417 really needs to finally implement error correction. It's not Reed-Solomon, quite. I will commit some pieces that will help so far but will have to work on this a while to understand and implement it.
Ported from https://code.google.com/p/zxing/issues/detail?id=1169
The text was updated successfully, but these errors were encountered: