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

Jetson Nano Implementation Issues #68

Open frd-na opened 4 years ago

frd-na commented 4 years ago

Hi ahmetozlu!

Thank you for sharing your API on object counting using tensorflow.

I would like to use this for vehicle counting and pedestrian counting in a Jetson Nano. However, I am having issues implementing it.

My Jetson Nano is flashed with Jetpack 4.3 that contains OpenCV 4.1.1 , Python 3.6.9 and I have installed Tensorflow 2.0.0 based on these https://docs.nvidia.com/deeplearning/frameworks/install-tf-jetson-platform/index.html instructions from NVIDIA

I made some changes in the code of _vehiclecounting.py to fix the compatibility of the tensorflow version. Then I ran the code but the the output video has some issues and the built-in player can't play it and says "cannot demultiplex stream". The output video is only 5.7 kB.

I think there are some issues in writing the video. Is it compatibility issues with OpenCV version? What is the OpenCV and Tensorflow versions you used when you implemented this?

Any help is greatly appreciated.