How to assign specific character to detected objects ?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hello, I want to count the number of object in my video. But the code that I have written, count all object in frames, so repeated objects will be count. My idea is to assign specific character to detected objects to avoid counting repeated object. But it is just an idea. How I can do this?? Please help me
0 comentarios
Respuestas (1)
Jacopo Remondina
el 4 de Oct. de 2018
It's not time efficent, and it can lead to many errors (fake positives), but in your situation, I would track any detected object coordinates (X,Y) in each frame. If two couples of subsequent coordinates are very near each other, I would not count it (probably an object just moved a bit), otherwise yes (probably a new object). As already written, if an object exit the screen and then it come again it, it's gonna be counted again.
Let me know if it's applicable to your application.
Jacopo
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!