kcg2015 / Vehicle-Detection-and-Tracking

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

About dealing with matched detections in main.py #4

Closed YuPeize closed 6 years ago

YuPeize commented 6 years ago

Whether an operation tmp_trk.no_losses = 0 should be performed after the operation tmp_trk.hits += 1 ?

kcg2015 commented 6 years ago

Thanks a lot for bring this up. Let me double check and get back to you.

kcg2015 commented 6 years ago

You are right. There is a possibility that tmp_trk.no_losses>0, then the same detection is matched again. Thus tmp_trk.no_losses needs to be reset to zero. Thanks again for you spotting this bug!

YuPeize commented 6 years ago

Thanks for your approval!

kcg2015 commented 6 years ago

Great. Let me close this issue for now.