| CPC G06V 40/193 (2022.01) [G06T 7/73 (2017.01); G06V 40/19 (2022.01); G06V 40/197 (2022.01); G06T 2207/10048 (2013.01)] | 15 Claims |

|
1. An image processing method of detecting pupil information in an image processing device, the image processing method comprising:
acquiring image data;
detecting a face region including at least a part of a face of a person from the image data;
setting a first region used for detection of an eye of the person in the face region having been detected;
setting a second region estimated to include a pupil or an iris by narrowing the first region based on a predetermined criterion;
detecting pupil information indicating the pupil or the iris in the second region;
outputting the pupil information having been detected; and
detecting face orientation information indicating an orientation of a face of the person from the face region;
wherein the predetermined criterion is a criterion for removing, in the first region, a predetermined amount of area from a boundary side of the first region, and
wherein in setting of the second region,
as a rightward orientation degree of the face indicated by the face orientation information becomes greater, an exclusion width from a right boundary in the first region is made narrower and an exclusion width from a left boundary in the first region is made wider, and
as a leftward orientation degree of the face indicated by the face orientation information becomes greater, an exclusion width from a left boundary in the first region is made narrower and an exclusion width from a right boundary in the first region is made wider.
|