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

How to access to video duration? #35

Closed erdalalim closed 5 years ago

erdalalim commented 5 years ago

Hi, Iam Running real_time_counting.py script it works great.Thanks for sharing!

I need to access to the video duration, I mean I need output in which second of video which objects are detected.. ( example: 00:01 second : 1 truck,2 persons... , 00:02 second : 3 persons,1 car are detected ... etc.)

How it is possible? Or it will be upgradet on this project?

EdwinChien commented 5 years ago

Maybe you can try with time module or DateTime module, the first module can let you get the duration time, the second module can let you get the time which the detected by.