摘要 |
The present invention relates to an apparatus and method for automatically recognizing a QR code, which can recognize a QR code by automatically photographing the QR code without a need to control the distance for recognition in relation to one QR code or two or more QR codes when a QR code recognition application installed in a smart phone that is carried by a user is executed. The apparatus for automatically recognizing a QR code in accordance with an embodiment of the present invention includes a photographing unit for obtaining a surrounding image including a QR code by photographing the QR code including recognition points and surroundings, a QR code recognition unit for converting the surrounding image including the QR code obtained by the photographing unit into a grayscale image of a pixel unit, converting the grayscale image into a histogram indicative of a distribution map according to the luminosity of each pixel, extracting only pixels having a luminosity value concentration level corresponding to a threshold or higher based on the histogram, setting the extracted pixels as a candidate pixel group, searching the set candidate pixel group for recognition points through a recognition marker, recognizing the retrieved recognition points as a QR code if the recognition points are recognized, and reading information about the recognized QR code, a display unit for displaying an image of the recognized QR code or displaying the read information about the QR code, and a memory unit for matching the image of the recognized QR code with the read information about the QR code and storing the matched image and read information. |