Ep10 Time Calculation of Person in Frame | AI Computer Vision | Python | Rocket Systems

preview_player
Показать описание
In this video we are going to study about how we can calculate the dwell time of person in the frame. Dwell time calculation means how much time a person has spend in the frame. This is all done by using the object id returned by tracker. Once the tracker assigns the object id to the person, we start a timer for that id and keep increasing the timer until that person is in the frame. As soon as the person moves out of the frame, we stop the timer and thus we have the total time of the person inside the frame.

Feel free to enjoy the source code in your application and let me know if you face any issues

Рекомендации по теме
Комментарии
Автор

Sir i am getting error like nonetype object has no attributes shape please help me to sort it out.

maharajan-mqny
Автор

in my project on face detection if the face leave the frame , the time increase and after a while if the face came back the timer shows increased value..what should i do now go get the value of total time??

iffatabassumtalukder
Автор

What is the full python version are you using x.x.x

hogware
Автор

My timer is Fast for lady 1 it count 6000+ seconds? i have used totall_seonds() function

daniyaniazics
Автор

how we can detect head from back side using this code???
or by using cv2.dnn.blobFromImage??

muzamilhassan
Автор

using this code i am able to get only 4-6 fps while tracking the person.Hoe to improve fps??

hemasaikarri