kcg2015 / Vehicle-Detection-and-Tracking

Computer vision based vehicle detection and tracking using Tensorflow Object Detection API and Kalman-filtering
537 stars 192 forks source link

Tracker Error #8

Closed MoustafaAyoub closed 6 years ago

MoustafaAyoub commented 6 years ago

File "main.py", line 140, in pipeline tmp_trk = Tracker() # Create a new tracker NameError: name 'Tracker' is not defined

I just ran your code as it is, but there is an error in the main.

kcg2015 commented 6 years ago

@MoustafaAyoub, see if change to tmp_trk = tracker.Tracker() works. Or change import tracker to from tracker import all. Best.

MoustafaAyoub commented 6 years ago

Thank you, it worked.

MoustafaAyoub commented 6 years ago

Do you have any idea how can I make your program work on real time?

kcg2015 commented 6 years ago

@MoustafaAyoub, cool. I have not looked into the detection in real time yet. There are quite a few blogs/Githb repos on this subject. You can search object detection with webcam to get an idea. Let me close this issue for the moment.