Is there any way possible to track an object along with its name on the webcam recording

11 visualizzazioni (ultimi 30 giorni)
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.

Risposte (1)

Aastha
Aastha il 12 Giu 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!

Community Treasure Hunt

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

Start Hunting!

Translated by