Xelamae
Xelamae

Reputation: 613

How to get average velocity of all the cars using opticalFlow in Matlab?

I stumbled with this link http://www.mathworks.com/products/computer-vision/examples.html?file=/products/demos/shipping/vision/videotrafficof.html

This has been very useful to me but i just can't figure out how to get the average velocity or speed of all the objects detected. Please help me.

Upvotes: 1

Views: 764

Answers (1)

Bharat
Bharat

Reputation: 2179

Given a video and computing optical flow cannot get you the speed of an object, however it can help you in estimating the relative speed of objects at the same depth. For computing the speed the camera needs to be calibrated and then you can compute the speed of vehicles using optical flow.

Upvotes: 1

Related Questions