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

Question about cumulative_object_counting_x_axis #15

Closed cAstraea closed 5 years ago

cAstraea commented 5 years ago

Hello, having a bit of problem with pedestrian detection. tried the pedestrian detection demo with my video ( a narrow hallway ). Modified the ROI line also but i can't get it to pick up the person. Tried different model frozen .pb also without success.
The cumulative_object_counting_y_axis seems to work a little bit better for my case but I would like to put the ROI line on vertical or at least slanted at an angle to detect people passing through a doorway into and out of the hallway.

Here's an example . How would I go about moving the ROI on the door to the right ? image

ahmetozlu commented 5 years ago

You should set the roi_position variable to set ROI Line position!