| CPC G09G 3/3406 (2013.01) [G06V 40/161 (2022.01); G09G 2320/0626 (2013.01)] | 7 Claims |

|
3. An information processing apparatus comprising:
a ranging sensor which divides a predetermined detection range into a plurality of measurement units to measure a distance from the ranging sensor to an object for each of the plurality of measurement units;
a memory which temporarily stores distance information indicative of the distance for each of the plurality of measurement units measured by the ranging sensor; and
a processor which executes processing based on the distance information for each of the plurality of measurement units, wherein
the processor performs:
person detection processing to detect a range of a person present in the detection range based on the distance information for each of the measurement units,
face range detection processing to detect a range of a face of the person in the range of the person detected in the detection range based on the distance information for each of the measurement units, and
face direction detection processing to detect an orientation of the face based on distance information in the range of the face among pieces of the distance information each piece for each of the measurement units, wherein
in the person detection processing, the processor calculates an average distance to the person based on distance information in the range of the person detected in the detection range among pieces of the distance information each piece for each of the measurement units, and
the processor controls whether or not to execute the face direction detection processing based on the average distance calculated by the person detection processing.
|