1. An image processing apparatus comprising: a detection unit configured to detect a motion vector between a first image and a second image based on a correlation between the first image and the second image; and a determination unit configured to determine a degree of reliability of the motion vector based on an evaluation value regarding the correlation, wherein the determination unit determines the degree of reliability further based on a difference in amount of bokeh between the first image and the second image.