A 2-dimensional code reading apparatus includes a code position detector receiving
an input image that is formed by optically reading 2-dimensional codes, and extracting
a 2-dimensional codes from the input image. A data acquisition unit acquires identification
information of a document page and positional information of the 2-dimensional
codes on the document page, from the 2-dimensional codes. A data decoder performs
decoding of the identification information and the positional information. The
code position detector is provided with a code frame detector detecting a code
frame which defines a fixed region of the 2-dimensional codes, and determining
a dot of a target pixel as being a corner dot of the code frame.