Patent ID: 8199373

Claim:
An image scanning apparatus comprising: a platen configured to support a document placed thereon; a document cover configured to shift between an open state to open the platen and a closed state to close the platen, the document cover including a document feeder having a document tray, wherein the document tray is configured to support a document placed thereon, and the document feeder is configured to feed the document placed on the document tray to a scanning position; an open-close detector configured to detect a state of the document cover; a document-detector configured to detect the document on the document tray; a scanning unit configured to selectively perform a first scanning relative to the document tray and a second scanning relative to the platen, and to generate image data; a commanding unit configured to receive input corresponding to a start command to start scanning; and a control unit including a time counter configured to count a time period between a time when a shift in the state of the document cover from the open state to the closed state is detected by the open-close detector and a time when input corresponding to the start command is received by the commanding unit, the control unit being configured to: control the document feeder to feed the document on the document tray when the document on the document tray is detected by the document-detector, and control the scanning unit to perform the first scanning, determine whether the time period counted by the time counter is longer than a first reference time period, control the scanning unit to perform the second scanning when the document on the document tray is not detected by the document detector and the time is shorter than the first reference time period, and control the scanning unit to cancel execution of the second scanning when the document on the document tray is not detected by the document detector and the time is longer than the first reference time period.