Patent ID: 6993211

Claim:
A code reader to optically read a code from a recording medium on which data is recorded as an optically readable code, comprising: an image pick-up section configured to continuously pick up an image of the code, while relatively moving with respect to the recording medium, to output image information in a time series every image pick-up; an image processing section configured to subject the image information output from the image pick-up section to predetermined image processing; a data read section configured to read the data from the image information subjected to the predetermined image processing in the image processing section; an image pick-up start detection section configured to detect image pick-up start of the code by the image pick-up section based on one of the image information output from the image pick-up section and the image information subjected to the predetermined image processing in the image processing section; a parameter storage section configured to store a parameter in an operation in one of the image pick-up section and the image processing section before image pick-up start of the code is detected by the image pick-up start detection section; and a parameter changing section configured to change the parameter in the operation in one of the image pick-up section and the image processing section to a parameter extracted from one of the image information output from the image pick-up section and the image information subjected to the predetermined image processing in the image processing section from the parameter stored in the parameter storage section, when the image pick-up start of the code is detected by the image pick-up start detection section.