I'm tracking an object moving in the sky. The problem is that I can track objects that have a steady speed of moving easily, but not the objects that constantly change the speed. For computing distances of the objects from the center of the image, I'm using OpenCV library. But seems I'm not able to cope with the algorithm. Does anyone have an idea of how to deal with such an object?