Home › Forums › TWAIN Classic › BarCode Detection in java
- This topic has 4 replies, 4 voices, and was last updated 8 years, 3 months ago by peterlee.
- AuthorPosts
Dear Sir,
I am doing a java project for Multi scanning and in that i want to do barcode and blank page separation…. Please give some idea hoe to do that using twain and Jtwain
-Rodricks
have you played with the twain toolkit yet? http://twain.org/downloads.shtm
there you will also find the TWAIN Specification 1.9 which you should read and read and read and read…..
Hi,
I suppose a good barcode reader also needs the help of TWAIN plugin to decode barcode. Doesn’t it? Any suggestion will be appreciated. Thanks in advance.Best regards,
PeterBarcode detection definitely does not depend on TWAIN except in rare cases.
The catch with barcode detection is that some TWAIN scanners (or their drivers) can do it, but most can’t.
So – if you know that all your scanners can do this, then you can have the scanner do the work. However, figuring out how to do that is quite complicated, you’ll need to study and understand the Extended Image Information feature of TWAIN, for example.If you are writing an application that needs to work with scanners that don’t do barcode recognition (i.e. most scanners) then it has to be done in software, as part of your application. Many imaging toolkits can do barcode recognition.
You can also license a barcode-recognition library, there are a lot of them (Inlite, OnBarcode, many others). And there are some free barcode recognition libraries, such as Zebra Crossing (https://github.com/zxing/zxing)It’s more common for TWAIN scanners to support automatic blank-page discarding, but certainly not universal – definitely not flatbeds, and I wouldn’t count on most multi-function devices doing it either. Almost any imaging library should be able to do blank-page detection although you may have to do some digging to figure out how to code it.
Hi, spike.
Thanks for your nice sharing. I wonder whether it is the latest version of the Barcode decoder ? I am also looking for a fine QR code scanner whose way of processing is simple and fast to help me scan QR barcode. It will be better if it offers free trials for users to check. Any suggestion will be appreciated. Thanks in advance.Best regards,
Lee- AuthorPosts