主权项 |
1. An image reading device comprising:
a stack portion in which an original document including a plurality of sheets is stacked; a feeding unit configured to feed the plurality of sheets one by one; a reading unit configured to read an image on each of the plurality of sheets fed by the feeding unit and generate image data representing the image; and a processor configured to function as:
a first analyzing unit configured to analyze at least one set of image data corresponding to at least one image on at least one of the plurality of sheets actually fed by the feeding unit and determine a feature of the original document based on the at least one set of image data;a selecting unit configured to select, from among a plurality of criteria, a criterion preset for the feature determined by the first analyzing unit, each of the plurality of criteria being a criterion for determining whether or not a sheet of the original document is fed while being overlapped with another sheet of the original document; anda determining unit configured to use the image data corresponding to the image on a sheet of the original document to determine, according to the criterion selected by the selecting unit, whether or not the sheet of the original document is actually fed while being overlapped with another sheet of the original document, wherein the processor is further configured to function as a second analyzing unit configured to analyze remaining sets of image data other than the at least one set of image data, the remaining sets of image data corresponding to remaining sheets of the plurality of sheets other than the at least one of the plurality of sheets, wherein the determining unit determines, based on the criterion selected by the selecting unit and a result of analyzing the remaining sets of image data, whether or not a sheet of the remaining sheets is actually fed while being overlapped with another sheet of the original document, wherein the at least one of the plurality of sheets includes a first sheet and a second sheet, the at least one set of image data including first image data corresponding to the first sheet and second image data corresponding to the second sheet, wherein, when the first analyzing unit analyzes the first image data and the second image data and determines that the second sheet has a size that is the same as a size of the first sheet, the selecting unit selects a second criterion from among the plurality of criteria, wherein, when the selecting unit selects the second criterion, the second analyzing unit analyzes each of the remaining sets of image data and determines a size of a sheet corresponding to the each of the remaining sets of image data, and wherein the determining unit determines that a sheet of the remaining sheets that has a size different from the size of the first sheet is actually fed while being overlapped with another sheet of the original document. |