Is there any way possible to track an object along with its name on the webcam recording
11 views (last 30 days)
Show older comments
I want to track no of objects along with it name on the webcam. Can anyone please guide me how to do that or share the code.
0 Comments
Answers (1)
Aastha
on 12 Jun 2025
To track the number of objects along with their names in a webcam video stream, you can use the Simple Online and Realtime Tracking (SORT) algorithm in MATLAB.
SORT uses a Kalman filter and Hungarian algorithm to efficiently track multiple objects across frames. You may refer to this MathWorks example illustrating the SORT algorithm linked below:
Further, you can use the "yolov4ObjectDetector" function as an object detector to name and label the objects in each frame. You may refer to this MathWorks example illustrating object detection using the YOLO network:
I hope this is helpful!
0 Comments
See Also
Categories
Find more on Tracking and Motion Estimation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!