필터 지우기
필터 지우기

Find the position of objects in two dimensions XY

조회 수: 2 (최근 30일)
Mohamed Elwakdy
Mohamed Elwakdy 2017년 10월 23일
댓글: Walter Roberson 2017년 10월 28일
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

답변 (1개)

Nicolas Schmit
Nicolas Schmit 2017년 10월 23일
편집: Nicolas Schmit 2017년 10월 23일
The relevant toolboxes are the Image Processing Toolbox and the Computer Vision Toolbox.
  댓글 수: 8
Mohamed Elwakdy
Mohamed Elwakdy 2017년 10월 28일
Thank you so much for your great help. Thank you so much really for everything.
I think that to overcome that the code has decided that an object is gone and remove the record of it that I should select a video file where the object is walking/running in a straight line. In this case, the object will not be lost and can keep all the trajectories of these objects... right?
Walter Roberson
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 CenterFile Exchange에서 Tracking and Motion Estimation에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by