Patent attributes
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.