Let us assume that Ik is the first frame in which the object, which is contained in a bounding box with index r0(k), was detected, and q is the number of frames in which the object is visible to the observer. Then the trajectory (track) of motion is a sequence of locations