For finding an inclination of an image rapidly and correctly, an image
processing device includes a CCD picking up an image, an edge detection
unit detecting an edge of an image relating to the picked-up image, a
rotation unit rotating the detected edge in an image plane, an operation
unit deriving a characteristic amount of rotated edge and an inclination
detection unit detecting an inclination of the picked-up image based on
the derived characteristic amount.