1. An information processing apparatus configured to display a pointer on a display device, comprising: a detector to detect, from an input image of a hand, a position of the hand in the image; and a processor configured to perform a process for moving the pointer in accordance with a detected position of the hand in the image, wherein the processor is configured to calculate a target position of the pointer, based on a weighted average of (1) a first position being a previously calculated target position of the pointer and (2) a second position being a position at which a probability that the hand exists is the highest, wherein a first weighting factor for the first position is obtained based on a probability distribution function having a peak at a position at which the probability that the hand exists is the highest and a second weighting factor for the second position is obtained based on the probability distribution function, in which a value of the first weighting factor decreases as a distance between the first position and the second position becomes longer, and the value of the first weighting factor increases and becomes a value close to the second weighting factor as the distance between the first position and the second position becomes shorter, and wherein the processor is further configured to move the pointer to the target position.