ahmetozlu / tensorflow_object_counting_api

🚀 The TensorFlow Object Counting API is an open source framework built on top of TensorFlow and Keras that makes it easy to develop object counting systems!
https://www.youtube.com/watch?v=yT_1eKJTdfk
MIT License
1.32k stars 545 forks source link

Doubts and problems counting objects #72

Open sergiodevelop78 opened 4 years ago

sergiodevelop78 commented 4 years ago

Hello, I have some doubts that I would appreciate if you could help me solve them:

1) I used the _pedestrian_counting.py_ script as an example to be able to count an object from my own video. This video has objects to detect and count. I created the model and recorded the files in the correct paths. However, when I run the new python script (mine), I can watch the video, the boxes are drawn around the objects, their name or label, their score, etc, but the objects are not counted. So, does the videos must have a specific resolution? I am using a 1280x720p video right now.

2) Is the videos' framerate important for scripts? In your examples I see that you indicate framerate but in the scripts they are no longer used. My video has or uses 29.97 FPS

3) In the data / folder I created a .pbtxt file with the index of my model, since my model did not have that file. Is it normal to create it like that? Or should it have come with the model?

Thank you very much in advance for your response. And thanks for the great work on your code.

Sergio

HemanthKumarAchanta commented 3 years ago

Even I have the same problem. Found any solution?