A two-dimensional code recognition processing method for recognizing a
two-dimensional code lade of a plurality of square cells arranged in
accordance with predetermined layout rules. The method comprises the
steps of: generating binary data from image information acquired
externally in accordance with a predetermined threshold value; detecting
a reference cell serving as a reference in recognizing the
two-dimensional code based on the binary data generated in the binary
data generating step; detecting corner cells each located in a
predetermined search range with respect to the reference cell detected in
the reference cell detecting step, on the basis of the binary data
generated in the binary data generating step; and detecting code data
assigned to the two-dimensional code existing inside an area of a code
part enclosed by the reference cell and by the corner cells on the basis
of the binary data generated in the binary data generating step.