2D barcode classifier (QR CODE)

11 views (last 30 days)
Viktor
Viktor on 5 Mar 2011
The main problem is i have to identify the QR Code in the image. I'm new to image processing so I limit my scope. There is no noise on the image or whatsoever. Ok here's the deal, my idea is to identify the 3 finder pattern for the QR code. but how am i going to do that with matlab ? using array ? compare with the base image we store in array ? histogram ? any suggestion ?

Answers (1)

Walter Roberson
Walter Roberson on 5 Mar 2011
It might not be the most efficient way, but I would be tempted to start with simple. Threshold the image with a relatively high value to turn most of the image in to background. The mandatory white border around the QR code will remain, though, and will probably be one of the largest remaining objects, so if you bwlabel the thresholded image and regionprops the result and examine the properties of the regions, you will probably be able to pick out the containing area.
Is the QR Code aligned with the XY plane or will you need to align it before decoding?
  1 Comment
Viktor
Viktor on 5 Mar 2011
Hi Walter. What do u mean was to decode the data of the QR Code right? No, I no need to decode it. I just want to identify the finder pattern and it is an ideal case and also already aligned with the XY plane. Once the finder pattern is identified then I can tell to the user whether it is a QR Code or not.

Sign in to comment.

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!