I used tensoflow object detection API to count the number of cars detected. But now i want to calculate the speed of all the cars detected. My question is is there any way to do this using tensorflow object detection API.
You have keep track of the location of the cars with respect to pixels in intervals of time. You can start and stop the recording of time using 'time' library.
Also, if you are planning to calculate car speeds, you have to take the relative speed with respect to the camera movement. It would be easier if your camera is in a still position.
来源:https://stackoverflow.com/questions/48280680/tensorflow-object-detection-apicalculate-car-speeds