1. An image processing apparatus, comprising: an imaging element configured to capture an image; and a central processing unit (CPU) configured to: determine that a motion of an object that appears in the image is in one of a first direction or a second direction based on a first comparison of first motion information of the object in the image with a first threshold value or based on a second comparison of second motion information of the image processing apparatus with a second threshold value; and determine a trimming process based on one of the first direction or the second direction of the motion of the object in the image.