Simple demo program for color based tracking
Simple script to read a video file and track a single red marker in 2D using the hue and saturation values. The largest red blob is detected and the mean co-ordinate position of this blob is tracked. This code does not have any tracking built-in: it treats each frame independently.
This assumes that the video is a constant frame rate video. The resulting co-ordinate time series are stored in the variables: t, Xc and Yc.
Download from http://www.youtube.com/watch?v=Thnv0IQqXFE
for a sample video on which this program was tested.
Cita come
Prakash Manandhar (2024). Simple demo program for color based tracking (https://www.mathworks.com/matlabcentral/fileexchange/31463-simple-demo-program-for-color-based-tracking), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- FPGA, ASIC, and SoC Development > Vision HDL Toolbox > Video Formats and Interfaces >
- Image Processing and Computer Vision > Vision HDL Toolbox > Video Formats and Interfaces >
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |