For object tracking of many objects.....
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Dear Sir,
I am working now on "Object Tracking Project"... I found this website on Mathworks http://www.mathworks.it/it/help/vision/examples/motion-based-multiple-object-tracking.html and this website help me to know some information that I must know them about each object...This Program required from me to make this Function "tracks = initializeTracks" BUT... I found problem when I go to use this Function " predictNewLocationsOfTracks ()" where I don't know the "Length of tracks" so I find ERROR in the "FOR LOOP" in this function..... I would like to know "How can I know the number of tracks??"
Thank you very much
Have Great and Fantastic day
0 Kommentare
Antworten (1)
Walter Roberson
am 19 Feb. 2013
The example has all the necessary code, including initializeTracks.
Please note that at the very end of the example, there is an "end" right above the "Was this topic helpful?". That "end" is needed. You need to put all the routines in the same file, and the structure should look like
function multiObjectTracking()
[... ] code here
function obj = setupSystemObjects()
[...] code here
end
function tracks = initializeTracks()
[...] code here
end
[...] more function / end pairs here
end %the stray "end" from the bottom of the page
When all the function/end pairs are created like this, "tracks" will become a variable that is shared with all of the routines.
6 Kommentare
Walter Roberson
am 19 Feb. 2013
No, createNewTracks() turns detected objects into tracks. The program detects and tracks objects as it goes, and even deletes objects that have gone away for too long. It might take a few steps before a detected object is promoted to be a "track".
Siehe auch
Kategorien
Mehr zu Image and Video Ground Truth Labeling finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!