2D barcode classifier (QR CODE)

14 次查看(过去 30 天)
Viktor
Viktor 2011-3-5
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 ?

回答(1 个)

Walter Roberson
Walter Roberson 2011-3-5
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 个评论
Viktor
Viktor 2011-3-5
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by