CPC H04N 1/00748 (2013.01) [H04N 1/0057 (2013.01); H04N 1/0071 (2013.01); H04N 1/00724 (2013.01)] | 15 Claims |
1. A medium conveying apparatus comprising:
a conveying roller to convey a medium;
an imaging device to generate an input image acquired by imaging the conveyed medium; and
a processor to
extract edge pixels from the input image,
detect two straight lines substantially perpendicular to each other from the edge pixels,
determine whether the conveyed medium is a predetermined card based on a distance between an intersection of the two straight lines and predetermined edge pixels at a corner of the medium in the input image, and
control the conveying roller based on a result of the determination or outputs the result of the determination.
|