Find the position of objects in two dimensions XY
3 次查看(过去 30 天)
显示 更早的评论
Dear sir/Madam,
I am specislized in the area of machine learning and data mining. I am looking to extract the position of objects in two dimensions (XY) from Video file make analysis if these trajectories using machine learning algorithms thereafter.
I would like you to advise me which toolbox in matlab I can use?
Thank you so much
0 个评论
回答(1 个)
Nicolas Schmit
2017-10-23
编辑:Nicolas Schmit
2017-10-23
8 个评论
Walter Roberson
2017-10-28
Sure. But it will still only know the current position and one or two previous positions.
You could alter the code slightly to keep a "unique identifier" for each object being tracked. At each time point in which you detect a new object, you allocate it the next available identifier. At each time point in which an object is detected, you write out to a file its unique identifier and the timestamp and the current position of the object. Do not bother to keep long internal histories, and allow any object to be deleted the same way it is now.
At the end, close the file. You can then post-process the file to group by identifier number to track an individual object, or you could group by timestamps to see what was on camera at any given time.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Tracking and Motion Estimation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!