Calculate the speed of an object in a video
