摘要 |
<P>PROBLEM TO BE SOLVED: To provide a two-dimensional barcode reader for stably and accurately reading a two-dimensional barcode displayed on a screen of a cellular phone or the like. <P>SOLUTION: Image data including a two-dimensional barcode displayed on the screen are scanned (step A1), edge portions in the image data are detected and straight lines in the image data are detected (step A2). Then, a rectangular area whose area falls within a predetermined range out of a rectangular area surrounded by the detected straight lines is extracted (step A3) and distortion correction and rotation correction are performed so that the extracted rectangular area becomes a rectangle with an inclination of 0° (step A5). Then, a two-dimensional barcode is read from the rectangular area corrected to have the inclination of 0° and decoded (step A6). <P>COPYRIGHT: (C)2009,JPO&INPIT |