CPC G06V 40/162 (2022.01) [G06V 10/56 (2022.01); G06V 40/168 (2022.01)] | 9 Claims |
9. A non-transitory computer readable storage medium storing a plurality of instructions, wherein when executed by at least one processor, the plurality of instructions cause the at least one processor to:
extract a human area in which it is determined that a face is present, from an image taken by an imaging device;
acquire a representative value of first feature values, the first feature values being calculated by inputting, to a conversion function, each color of pixel included in a part of the human area;
correct, based on the representative value, a skin range indicating that a color indicated by a feature value acquired with the conversion function is a human skin color; and
determine whether a human is present in a part of the image acquired by the imaging device, based on whether a second feature value calculated with the conversion function for each of a plurality of pixels forming the part of the image is within the corrected skin range; and
correct the skin range so that an amount of correction becomes less as a quantity of pixels in the part of the image, each having the first feature value outside the skin range, becomes smaller.
|