How to calculate the speed of a moving object from a classifier

asked 2017-02-12 09:20:38 -0500

xKazutox gravatar image


I have created my own car classifier and have been able to detect cars and calculate the distance of the car in a live video or pre recorded video. However the next stage I have become stuck. I need to calculate the speed of the car which is moving based on the car classifier detecting the car.

How can this be done?

Any help will be much appreciated!

edit retag flag offensive close merge delete


How do you know the distance to the car? If you know distance, you should have (x,y,z) and then speed is change in position over time. speed = |x2-x1| / (t2-t1).

Der Luftmensch gravatar imageDer Luftmensch ( 2017-02-12 12:12:20 -0500 )edit