I just want to keep track of the object I selected.
33 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
*I just want to keep track of the object I selected.
frame = readFrame(obj.reader);
imshow(frame);
title('Takip etmek istediğiniz nesneyi seçin ve Enter\a basın');
rect = getrect; % Kullanıcının seçtiği dikdörtgenin koordinatlarını alır.
close; % Seçimden sonra pencereyi kapatır.
% Seçilen nesnenin sınır kutusunu global değişken olarak kaydedin.
selectedBbox = rect;
*I used the following code for this, but I do not get correct results in object tracking. I used Kalman Filter for this.
3 Kommentare
Walter Roberson
am 2 Dez. 2024 um 23:23
Once you have selected the initial object, then in subsequent frames, you can mask out the frame beyond a reasonable maximum movement velocity, before rescanning for objects. You can also deliberately discard the tracking information about objects that are more than maximum movement velocity away from the object of interest.
Antworten (1)
Image Analyst
am 3 Dez. 2024 um 5:03
The Computer Vision Toolbox has some tracking capabilities. Look them up.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Matched Filter and Ambiguity Function 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!