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

Threshold and false positives #24

Closed cAstraea closed 5 years ago

cAstraea commented 5 years ago

Hello, how can I adjust a threshold ? I remember before was playing with other examples and they used something like classes[i] == 1 -> this is person and scores[i] > my threshold but can't find anything like this in this code. This were obtained from (boxes, scores, classes, num) = self.sess.run(some stuff)

ahmetozlu commented 5 years ago

You can set the threshold value in visualization_utils.py by using min_score_value variable!