1. A computer-implemented method comprising: receiving at least a first image of an object; detecting the object in the first image; generating an object data map based on detecting the object in the first image, the object data map indicating for each pixel in the first image, whether the object is detected at the each pixel; generating a motion history indicating, for each pixel included in the object data map, an indication of time since the object has been detected at the each pixel; and controlling an application based on the motion history.