obendidi / Tracking-with-darkflow

Real-time people Multitracker using YOLO v2 and deep_sort with tensorflow
GNU General Public License v3.0
523 stars 174 forks source link

can't track the objects when I use the sort #40

Closed Silencesss closed 6 years ago

Silencesss commented 6 years ago

when i use the sort ,FLAGS.track =True,FLAGS.BK_MOG = False ,it can't show the tracking boxes in the video, but when i set FLAGS.track =False and FLAGS.BK_MOG = False , it can show the darkflow detecting boxes, when I set FLAGS.track =True and FLAGS.BK_MOG =True,it can show same error boxes, so I wonder the code of sort doesn't receive the detecting boxes of darkflow or not ,when I use the deep_sort ,It can work. is there some problems of the code of sort-with-darkflow?

Silencesss commented 6 years ago

I solve it

ZhihongChen123 commented 6 years ago

Hello,I also have this problem. How did you solve it?Thank you very much! @Silencesss

Urviagrawal commented 6 years ago

Hey @Silencesss can you please tell me how did you solved this problem?

ZhihongChen123 commented 6 years ago

Hey,@Urviagrawal can you please tell me how did you solved this problem?

2018-04-06 14:51 GMT+08:00 Urviagrawal notifications@github.com:

Hey @Silencesss https://github.com/Silencesss can you please tell me how did you solved this problem?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bendidi/Tracking-with-darkflow/issues/40#issuecomment-379164730, or mute the thread https://github.com/notifications/unsubscribe-auth/AcxRfMun7s8seh-igmBANLDMr3kr3L8uks5tlxCHgaJpZM4RlVFG .

Silencesss commented 6 years ago

注释掉Tracking-with-darkflow/darkflow/net/yolov2/predict.py文件中的第100行和101行

if mess not in self.FLAGS.trackObj :

continue

这两行注释掉就可以了 @ZhihongChen123 @Urviagrawal

Urviagrawal commented 6 years ago

@ZhihongChen123 no still I am getting some unwanted tracking boxes and not the actual detections even after commenting lines 100 and 101 as said by @Silencesss