Patent ID: 8284417

Claim:
An image processing device comprising: a first image inputting unit that inputs a first image, the first image inputting unit being configured to input the first image optically read from a document placed in a prescribed reading position; a second image inputting unit that inputs a second image; an image processing unit that performs a prescribed process on the second image based on the first image; and a restriction control unit that is configured to restrict the prescribed process based on information of the first image, the restriction control unit including a judging unit configured to judge whether the document is set in the reading position based on the information of the first image, and a restricting unit configured to restrict the prescribed process based on a result of the judgment, the restriction control unit further comprising a calculating unit configured to calculate a mean brightness in the first image, wherein the judging unit judges whether the document is set in the reading position when the mean brightness value in the first image is greater than a prescribed value.