Direction of Vehicle [closed]
How to Identify the direction of vehicle in up or down direction,
(1) i am able to detect vehicle with its centriod.
How to Identify the direction of vehicle in up or down direction,
(1) i am able to detect vehicle with its centriod.
Asked: 2014-04-22 01:53:51 -0600
Seen: 196 times
Last updated: Apr 22 '14
Seriously ... I think people should put some effort into their problems ... the solution is as simple as your question ...
Vow! how u do that(Nice Animation), but i already using optical flow with Lucas-Kanade method, in this i stuck on multiple vehicle. Can we find the direction using centriod (on multiple vehicle)....
Yes you can, just keep track of the centroid Y and X coordinate. The change in direction gives you movement ...
Yes, i done that, but inbetween with multiple vehicle (in same direction) the centroid will overlab.. Y:125 Y:129 Y:135 Y:75 Y:59 Y:62
That is why you assign a tracker like kalman or optical flow for each position, to track the correct centroid instead of switching between them.
@steven i successfully implemented the KLTTracking, & able to track each vehicle. There are some minor issue but i handle them, Thanks for reply and good luck..