New issue 727 by phil4...@gmail.com: Support for MaxiCode
http://code.google.com/p/zxing/issues/detail?id=727
Noticed your excellent barcode scanner does not recognise MaxiCode type
codes (used by UPS).
Attachments:
200px-MaxiCode.svg.png 13.6 KB
Comment #1 on issue 727 by sro...@gmail.com: Support for MaxiCode
http://code.google.com/p/zxing/issues/detail?id=727
You're welcome to write support; there's nobody that can work on it
otherwise though.
I'm contributing some code for this. Here's a reader we developed to verify
our Maxicode generator (http://bfo.com/products/pdf) was correct. The code
is fairly rough but it does work, although there's no Reed Solomon
correction and it would clearly need adaptation to the zxing design, you're
welcome to it.
Attachments:
MaxicodeReader.java 17.0 KB
Maxicode support would be awesome!
Issue 973 has been merged into this issue.
This is a first-shot implementation of MaxiCode support for zxing.
working:
- pure_barcode parsing
- reed solomon error correction
- decoding (modes 2 - 5, based on mike32767s code)
not yet implemented:
- detection
- parsing for skewed or rotated images
I would like to request commit rights, to commit and maintain MaxiCode
support. SVN diff is attached for review and comments. Thank you.
Attachments:
maxicode.diff 28.8 KB
maxicode01.png 2.2 KB
maxicode02.png 8.1 KB
maxicode03.png 3.4 KB
maxicode04.png 3.1 KB
maxicode05.png 1.4 KB
This is looking quite good, thanks. I can commit with a few small changes,
and give you commit access. I think that some of this won't be compatible
with J2ME, but, I think we're giving up on that. Also, is it possible to
use existing methods to find the top-left and bottom-right of a pure
barcode rather than a new method that finds all four?
Unfortunately, that is not the case. Top-left is often not leftmost, and
bottom-right is often not rightmost. Additionally, this way it also works
with slightly squished codes as long as they are not skewed or rotated
(like maxicode02.png - which I photographed and corrected the perspective
manually).
Alrighty. I'm not sure if my second reply came through here -- was wanting
to confirm that the code here is original work and OK to contribute to the
project. Looks like you built on work from the code posted earlier, which
is OK, and if you've just added your own original work, that's all set.
Yes, all set. The only code I used is the one posted by mike32767, the rest
is by me / based on code in zxing already.
Comment #10 on issue 727 by sro...@gmail.com: Support for MaxiCode
http://code.google.com/p/zxing/issues/detail?id=727
I've committed a slightly changed version of your patch, mostly to make
style consistent. I will add you as a committer
I am trying to read maxicode on android but can't figure out how to use
mike's code that is if it is working. Any suggestions?
IIRC there is a decoder but no detector for Maxicode. You would have to
complete it by creating an implementation to find a Maxicode in an image.
Right now I think it works for pure synthetic images only.
yes i am able to decode maxicode using maike's code but is it possible to
find maxicode in an image using zxing?
yes i am able to decode maxicode using mike's code but is it possible to
Only if the image is synthetic -- that's what I was saying. There is no
detector for general camera images.