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 546 forks source link

Not able to see video of counting people #33

Closed Jitesh-Mohite closed 5 years ago

Jitesh-Mohite commented 5 years ago

After a lot of struggle, I am able to run this project on windows 10, but I am not able to see a visualization(video) of counting of people and bicycle inside the rectangle. Could you please help us?

I am getting out like this after running python real_time_counting.py

Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2

['person: 88%'] person: 88 'person:': 1 mode1 writing frame ['person: 87%']

ahmetozlu commented 5 years ago

The output results save as an output video in default. However, if you want to see the result of each processed video frame then you should remove the comments on the cv2.imshow lines insdie of object_counting_api.py.

Jitesh-Mohite commented 5 years ago

Thank, it's working now, But the output video showing very slow detection to me, How I can improve this?

Jitesh-Mohite commented 5 years ago

Also, the count showing for python pedestrian_counting.py only when it crosses the red line shown in the image,

detection

I want to detect the people as of earlier as possible? How I can do that?

Jitesh-Mohite commented 5 years ago

Also, want to show live camera feeding, I see this https://github.com/ahmetozlu/tensorflow_object_counting_api/issues/4, but I am not sure how it will help me. Can you suggest me what are the changes I have to do?