MultiObjectTrackerKLT
Simple modification to MultiObjectTrackerKLT from The MathWorks, Inc to allow labels to be added to multi object tracker. Function can still be used as before without labeling, and still works with single or multiple values. Label is passed as cell array of characters.
Examples of usage:
tracker = MultiObjectTrackerKLT;
tracker.addDetections(frame, bboxes(1,:), {'body'});
personLabel = {'ross'};
tracker.addDetections(frame, bboxes(2,:), personLabel);
tracker.addDetections(frame, bboxes, [{'Body'};{'Head'}]);
displayFrame = insertObjectAnnotation(frameRGB, 'rectangle',...
tracker.Bboxes, tracker.BoxLabels);
Cite As
Ross Kinard (2024). MultiObjectTrackerKLT (https://www.mathworks.com/matlabcentral/fileexchange/68811-multiobjecttrackerklt), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Computer Vision Toolbox > Recognition, Object Detection, and Semantic Segmentation > Object Detection Using Features >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.