2D barcode classifier (QR CODE)
11 views (last 30 days)
Show older comments
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 ?
0 Comments
Answers (1)
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?
See Also
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!