kcg2015 / Vehicle-Detection-and-Tracking

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

A bug #9

Closed qiang92 closed 5 years ago

qiang92 commented 5 years ago

I think you should add "self.car_boxes = []" after "print('no detection!')" in file"detector.py" 124 line. Otherwise it will keep showing the last position of previous object until the detector detects a new object.

kcg2015 commented 5 years ago

Thanks for bring this up. Let me take a look and get back to you.

kcg2015 commented 5 years ago

Thanks a lot for spotting this bug! I have already added this line of code (at line 125) in detector.py.

kcg2015 commented 5 years ago

Let me close this issue for now.