APPARATUS AND METHOD FOR AUTOMATICALLY RECOGNIZING A QR CODE
First Claim
1. An apparatus for automatically recognizing a QR code, comprising:
- a photographing unit capturing images of a QR code including recognition points and surroundings of the QR code, and obtaining a surrounding image including the QR code;
a QR code recognition unit 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 luminosity of each pixel, extracting only pixels having a luminosity value concentration level the same as or higher than a threshold based on the histogram, setting extracted pixels as a candidate pixel group, searching the set candidate pixel for recognition points through a recognition marker, recognizing a region in which the recognition points are places as a QR code if the recognition points are conceived in the candidate pixel group, and reading out information stored in the recognized QR code;
a display unit for displaying an image of the recognized QR code or displaying the read-out information in the QR code; and
a memory unit for matching the image of the recognized QR code with the read-out information in the QR code and storing the matched image and the read-out information,wherein, if three recognition points are not recognized in the candidate pixel group through the recognition marker and thus a QR code is not recognized, the QR code recognition unit enlarges the surrounding image including the QR code obtained through the photographing unit in a vector way, corrects the enlarged surrounding image, converts the enlarged and corrected surrounding image including the QR code into a grayscale image of a pixel unit, converts the grayscale image into a histogram representing a distribution map according to luminosity of each pixel, extracts only pixels each having a luminosity value concentration level the same as or higher than a threshold based on the histogram, sets the extracted pixels as a candidate pixel group, searches the set candidate pixel group for three recognition points through the recognition marker, and, if the three recognition points are conceived, recognizes a region in which the three recognition points are placed as a QR code.
0 Assignments
0 Petitions
Accused Products
Abstract
An apparatus and method for automatically recognizing a QR code without a need to control the distance for recognition in relation to one QR code or two or more QR codes. The apparatus includes a photographing unit obtaining a surrounding image the QR code including recognition points and surroundings, a QR code recognition unit converting the surrounding image 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, when the recognition points are conceived, recognizing a region in which the conceived recognition points are placed as a QR code.
-
Citations
17 Claims
-
1. An apparatus for automatically recognizing a QR code, comprising:
-
a photographing unit capturing images of a QR code including recognition points and surroundings of the QR code, and obtaining a surrounding image including the QR code; a QR code recognition unit 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 luminosity of each pixel, extracting only pixels having a luminosity value concentration level the same as or higher than a threshold based on the histogram, setting extracted pixels as a candidate pixel group, searching the set candidate pixel for recognition points through a recognition marker, recognizing a region in which the recognition points are places as a QR code if the recognition points are conceived in the candidate pixel group, and reading out information stored in the recognized QR code; a display unit for displaying an image of the recognized QR code or displaying the read-out information in the QR code; and a memory unit for matching the image of the recognized QR code with the read-out information in the QR code and storing the matched image and the read-out information, wherein, if three recognition points are not recognized in the candidate pixel group through the recognition marker and thus a QR code is not recognized, the QR code recognition unit enlarges the surrounding image including the QR code obtained through the photographing unit in a vector way, corrects the enlarged surrounding image, converts the enlarged and corrected surrounding image including the QR code into a grayscale image of a pixel unit, converts the grayscale image into a histogram representing a distribution map according to luminosity of each pixel, extracts only pixels each having a luminosity value concentration level the same as or higher than a threshold based on the histogram, sets the extracted pixels as a candidate pixel group, searches the set candidate pixel group for three recognition points through the recognition marker, and, if the three recognition points are conceived, recognizes a region in which the three recognition points are placed as a QR code. - View Dependent Claims (3, 4, 5)
-
-
2. (canceled)
-
6. An application providing apparatus for a user terminal for providing a program for a user terminal over a communication network, wherein the program obtains a surrounding image including a QR code by photographing the QR code including recognition points and surroundings through a camera, converts the obtained surrounding image including the QR code into a grayscale image of a pixel unit, converts the grayscale image into a histogram indicative of a distribution map according to luminosity of each pixel, extracts only pixels each having a luminosity value concentration level corresponding to a threshold or higher based on the histogram, sets the extracted pixels as a candidate pixel group, searches the set candidate pixel group for recognition points through the recognition marker, if three recognition points are conceived, recognizes a region in which the conceived three recognition points are placed as a QR code, enlarges the surrounding image including the QR code obtained through the camera in a vector way if three recognition points are not recognized in the candidate pixel group through the recognition marker and thus a QR code is not recognized, corrects the enlarged surrounding image, converts the enlarged and corrected surrounding image including the QR code into a grayscale image of a pixel unit, converts the grayscale image into a histogram indicative of a distribution map according to luminosity of each pixel, extracts only pixels each having a luminosity value concentration level corresponding to a threshold or higher based on the histogram, sets the extracted pixels as a candidate pixel group, searches the set candidate pixel group for three recognition points through the recognition marker,
if the three recognition points are conceived, recognizes a region in which the three recognition points are placed as a QR code, and reads out the information in the recognized QR code.
-
7. A method for automatically recognizing a QR code, comprising steps of:
-
(a) obtaining a surrounding image including a QR code by photographing a QR code including recognition points and surroundings through a photographing unit; (b) converting the surrounding image including the QR code, obtained through the photographing unit, into a grayscale image of a pixel unit; (c) converting the grayscale image into a histogram indicative of a distribution map according to luminosity of each pixel; (d) extracting only pixels each having a luminosity value concentration level the same as or higher than a threshold based on the histogram and setting the extracted pixels as a candidate pixel group; (e) searching the set candidate pixel group for recognition points through a recognition marker; (f) when three recognition points are conceived in the set candidate pixel group, recognizing a region in which the conceived three recognition points are placed as a QR code; and (g) reading out information stored in the recognized QR code, wherein, if three recognition points are not recognized in the candidate pixel group through the recognition marker and thus a QR code is not recognized at the step (f), the surrounding image including the QR code obtained through the photographing unit is enlarged, the enlarged surrounding image is corrected, and the steps (b) to (g) are performed on the enlarged and corrected surrounding image including the QR code. - View Dependent Claims (9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
8. (canceled)
Specification