2D barcode classifier (QR CODE)

조회 수: 11 (최근 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