[Feature Request] Bar code scanning

Hi guys,

Someone at my company asked me if it would be possible to also scan barcodes instead of doing OCR. Now I found some programs that can do this: ZXing and ZBar. For the first someone wrote a ImageJ plugin, however I don't seem to get that working. The latter looks more promissing ( http://stackoverflow.com/questions/13268250/android-zxing-vs-zbar ) ZBar has a sourceforge page here: https://sourceforge.net/projects/zbar/ and the ImageJ plugin wrote for ZXing can be found here: https://bitbucket.org/elliottslaughter/qr_decoder/downloads , but this uses an old version of the ZXing library, and I am afraid it will only work on QR codes, node on 1D barcodes.

 

Luuk

1 Like

Hi @Luuklag,

I don’t know if any progress has been made since your post (almost two years ago :slight_smile:), but now there’s also Barcode_Codec:

It shouldn’t be too hard to transform this into an ImageJ2 plugin and make it runnable from within KNIME with the ImageJ2 integration.

Hi Luuk,

Besides the ImageJ2 integration, you might consider trying out the Barcode Nodes. This feature provides nodes for encoding and decoding various types of barcodes using ZXing and QRCodeMonkey.

A starting point would be the ZXing Decoder, whose node description is as follows:

ZXing Decoder is part of Barcode Nodes and reads all kinds of barcodes from images. Barcode Decoder is able to detect multiple barcodes in images.

This node is based on ZXing. ZXing is an open-source, multi-format 1D/2D barcode image processing library implemented in Java.

The following barcodes are supported: UPC-A, UPC-E, EAN-8, EAN-13, Code 39, Code 93, Code 128, Codabar, ITF, RSS-14, RSS-Expanded, QR Code, Data Matrix, Aztec (beta), PDF 417 (beta).This text will be hidden

I am not aware how well this fits into your ImageJ workflow, but worth a try. You can download Barcode Nodes from NodePit. Disclosure: I am the author of these nodes.

Daniel

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.