|Request: High-accuracy ZXing alternative||Lachezar Dobrev||10/2/12 2:45 AM|
I am looking for alternatives to ZXing to use for a document
identification solution. ZXing is excellent to work with image
streams, where it's high speed makes it indispensable. However when it
comes to looking for bar-codes in scanned, generated or faxed-in
documents ZXing seems a blunt tool for the job.
I have received similar requests off-list (I have no idea why).
Please advise on libraries, that provide high accuracy bar-code
scanning. Both 1D as well as 2D.
I hope the ZXing team will not object my asking for competitive
products, since this is targeting a somewhat side-step use case.
|This message has been hidden because it was flagged for abuse.|
|Re: Request: High-accuracy ZXing alternative||Lachezar Dobrev||10/4/12 3:04 AM|
Of course I did :)
The TRY_HARDER does indeed help to scan bar-codes, but the success
ratio is still quite low for images with the bar-code in the
upper-right corner (just for an example). I have to mention, that
sometimes people scan the documents rotated and I would like to use
the bar-code orientation to rotate the image into it's original
For most documents I eventually succeed by applying various image
manipulations like crop, rescale, blur, sharpen, etc. But I've seen no
ideal combination of these, and for every image I have to do it
manually. Almost always I start with crop of the bar-code zone.
Something I would assume can be automated, but alas... At the end it
becomes easier to just input the bar-code content by hand :(
2012/10/3 Daniel Switkin <dswi...@google.com>:
|Re: Request: High-accuracy ZXing alternative||Sean Owen||10/4/12 5:08 AM|
Yeah, here you drift into machine learning land, where accuracy is important for any given image and CPU is plentiful. The mobile case is much easier since options are limited.
I can share ideas offline about how you do better detection of where the barcode is, since that is most of your problem.
I can also tell you what I know about better image processing. For still-decent images, a Canny edge detector steps up performance noticeably. For serious blur you have to be willing to make some assumptions about the barcode but then can start to apply classifier models to find barcode digits.