Apparatus and method for recognizing code
First Claim
1. An apparatus for recognizing a code, the apparatus comprising:
- an image-acquiring portion for acquiring a raw image in which a code image is contained;
a color-converting portion for correcting colors or shades recognized in the raw image, using environmental variables, converting the corrected colors or shades into a plurality of standard colors or standard shades used to generate the code image, and generating a standard image represented by the standard colors or standard shades;
a binary-coding converting portion for dividing the colors or shades of the raw image into two colors according to a predetermined reference value and generating a binary-coded image;
an image-processing portion for extracting an area excluding a code image area from the binary-coded image, setting a color of the area corresponding to the extracted area in the standard image as a background color, thereby discriminating the code image area from other areas, extracting a plurality of cells included in the code image area, and recognizing the standard color or standard shade represented in each of the cells; and
a code-converting portion for extracting a corresponding character, number, or symbol from the color or shade recognized in each of the cells of the code image according to a relationship between a character, number, or symbol and a corresponding color or shade and generating code data.
1 Assignment
0 Petitions
Accused Products
Abstract
An apparatus and method for recognizing a code from a code image that is expressed physically or electronically and extracting data represented in the code image is provided. The method includes the steps of receiving a raw image in which a code image is contained, detecting a background image included in the raw image, extracting a code image region in which a background image is excluded, recognizing the shape and type of the code image and the color or shade represented in each of cells, converting the color or shade recognized from each of the cells into a corresponding character, number, or symbol and generating code data. The code image in which predetermined data are represented as colors or shades are received, and original colors or shades can be precisely discriminated regardless of an environment in which the code image is recognized.
-
Citations
20 Claims
-
1. An apparatus for recognizing a code, the apparatus comprising:
-
an image-acquiring portion for acquiring a raw image in which a code image is contained;
a color-converting portion for correcting colors or shades recognized in the raw image, using environmental variables, converting the corrected colors or shades into a plurality of standard colors or standard shades used to generate the code image, and generating a standard image represented by the standard colors or standard shades;
a binary-coding converting portion for dividing the colors or shades of the raw image into two colors according to a predetermined reference value and generating a binary-coded image;
an image-processing portion for extracting an area excluding a code image area from the binary-coded image, setting a color of the area corresponding to the extracted area in the standard image as a background color, thereby discriminating the code image area from other areas, extracting a plurality of cells included in the code image area, and recognizing the standard color or standard shade represented in each of the cells; and
a code-converting portion for extracting a corresponding character, number, or symbol from the color or shade recognized in each of the cells of the code image according to a relationship between a character, number, or symbol and a corresponding color or shade and generating code data. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An apparatus for recognizing a code, the apparatus comprising:
-
an image-acquiring portion for acquiring a raw image in which a code image is contained;
a binary-coding converting portion for dividing the colors or shades of the raw image into two colors according to a predetermined reference value and generating a binary-coded image;
an image-processing portion for extracting an area excluding a code image area from the binary-coded image, setting a color of the area corresponding to the extracted area in the standard image as a background color, thereby discriminating the code image area from other areas, extracting a plurality of cells included in the code image area, and recognizing the standard color or standard shade represented in each of the cells;
a color-converting portion for correcting colors or shades recognized with respect to each of the cells included in the code image area, using environmental variables, and converting the corrected colors or shades into a plurality of standard colors or standard shades used to generate the code image; and
a code-converting portion for extracting a corresponding character, number, or symbol from the color or shade recognized in each of the cells of the code image according to a relationship between the character, number, or symbol and the corresponding color or shade and generating code data. - View Dependent Claims (8, 9, 10)
-
-
11. A method for recognizing a code, the method comprising the steps of:
-
acquiring a raw image in which a code image is contained;
correcting colors or shades recognized from the raw image, using environmental variables;
converting the corrected colors or shades into a plurality of standard colors or standard shades used to generate the code image, and generating a standard image represented by the standard colors or standard shades;
dividing the colors or shades of the raw image into two colors according to a predetermined reference value and generating a binary-coded image;
extracting an area excluding a code image area from the binary-coded image, and setting a color of the area corresponding to the extracted area in the standard images as a background color, thereby discriminating the code image area from other areas;
extracting a plurality of cells included in the code image area, and recognizing the standard color or standard shade represented in each of the cells; and
extracting a corresponding character, number, or symbol from the color or shade recognized in each of the cells of the code image according to a relationship between the character, number, or symbol and the corresponding color or shade and generating code data. - View Dependent Claims (13)
-
-
12. A method for recognizing a code, the method comprising the steps of:
-
acquiring a raw image in which a code image is contained;
dividing the colors or shades of the raw image into two colors according to a predetermined reference value and generating a binary-coded image;
extracting an area excluding a code image area from the binary-coded image, and setting a color of the area corresponding to the extracted area in the standard image as a background color, thereby discriminating the code image area from other areas;
extracting a plurality of cells included in the code image portion, and recognizing the standard color or standard shade represented in each of the cells;
correcting colors or shades recognized from the raw image with respect to each of the cells included in the code image area, using environmental variables;
converting the corrected colors or shades into a plurality of standard colors or standard shades used to generate the code image; and
extracting a corresponding character, number, or symbol from the color or shade recognized in each of the cells of the code image according to a relationship between the character, number, or symbol and the corresponding color or shade and generating code data. - View Dependent Claims (14)
-
-
15. An apparatus for recognizing a code, the apparatus comprising:
-
an image-acquiring portion for acquiring a raw image in which a code image is contained;
an image-processing portion for extracting the code image from the raw image and recognizing colors or shades represented in a plurality of cells included in the code image;
a code-setting portion in which a relationship between a character, number, or symbol and a corresponding color or shade is set; and
a code-converting portion for extracting the corresponding character, number, or symbol from the color or shade represented in each of the cells of the code image according to the relationship set in the code-setting portion and generating code data. - View Dependent Claims (16, 17, 18)
-
-
19. A method for recognizing a code, the method comprising the steps of:
-
receiving a raw image in which a code image is contained;
detecting a background image included in the raw image and extracting a code image region in which a background image is excluded;
discriminating the shape and kind of the code image from the code image region;
discriminating cells included in the code image region;
recognizing thecolor or shade represented in each of the cells; and
converting the color orshade recognized in each of the cells into a corresponding character, number, or symbol and generating code data. - View Dependent Claims (20)
-
Specification