If it is determined that the region of interest is other than a facial region, the image above the region of interest is checked in step S219, and if the ratio of a black portion is larger than a predetermined ratio, that region is determined to be a facial region.