AlexeyAB / darknet

YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )
http://pjreddie.com/darknet/
Other
21.75k stars 7.96k forks source link

same object has different object_id #2027

Open pingan1369 opened 5 years ago

pingan1369 commented 5 years ago

hi ,@AlexeyAB In project yolo _console_dll , same car has two different object_id. just like in the picture. image it makes more difficult for tracking. it there any way to solve this problem?

AlexeyAB commented 5 years ago

@pingan1369 hi,

pingan1369 commented 5 years ago

@AlexeyAB hi

Thanks for the quick response!

1 i am using yolov3.cfg and yolov3.weights (download form https://pjreddie.com/media/files/yolov3.weights)

2 object names come from the file : data/coco.names image

i only change the number of frame_story and max_dist. image

AlexeyAB commented 5 years ago

1 i am using yolov3.cfg and yolov3.weights (download form https://pjreddie.com/media/files/yolov3.weights)

So car is detected as 2 objects: Car and Truck.

May be this is just false-positive of Yolo v3 model. Try to set width=608 height=608 in yolov3.cfg

pingan1369 commented 5 years ago

@AlexeyAB
hi, thanks for your reply

https://github.com/AlexeyAB/darknet/blob/fb1ee79576f83d505211267252e070c3cb0f431e/src/yolo_v2_class.cpp#L325