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

Error in object_tracking.py .... How to resolve it? #84

Closed m8770224 closed 3 years ago

m8770224 commented 3 years ago

Traceback (most recent call last): File "C:/Users/Dell/Downloads/tensorflow_object_counting_api-master/object_tracking.py", line 24, in processed_img = backbone.processor(img) File "C:\Users\Dell\Downloads\tensorflow_object_counting_api-master\backbone.py", line 70, in processor img_dim = (img.shape[1], img.shape[0]) AttributeError: 'NoneType' object has no attribute 'shape'

ahmetozlu commented 3 years ago

It seems that your input resource path is not valid or it is incorrect. Please check your input resource exact path on code and be sure about you set it correctly.

m8770224 commented 3 years ago

Ok. Thank you. One more dout I have, would you please tell me how to reduce the width of that roi line.

On Thu, Jan 7, 2021 at 1:46 AM Ozlu notifications@github.com wrote:

Closed #84 https://github.com/ahmetozlu/tensorflow_object_counting_api/issues/84.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ahmetozlu/tensorflow_object_counting_api/issues/84#event-4176868317, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASLMSOXROGTHXMEWDMPEARDSYTAJBANCNFSM4VXHBMTQ .