According to still another aspect of the present invention, an image processing apparatus includes a conveying unit that conveys an original; a scanning unit that scans conveyed original line by line to generates image information including image data corresponding to a plurality of the lines; a detecting unit that detects whether image data for each of the lines in generated image information is