Skip to content

Slender object detection only has low PR and mAP #4030

@Yanhui-He

Description

@Yanhui-He

Yolov5 is a wonderful work in object detection. I used it in pedestrian detection and vehicle detection, which has great pweformence. However, when I try to use yolov5 to detect the pole-like object, such as light pole, traffic pole, wire pole, and sign pole, the model has a poor performence.

Note: I only want to detect single class that is pole.

I have changed the ratio of width and height in ddateset.py (the max ar_thr is 63 in my own dataset):
def box_candidates(box1, box2, wh_thr=1, ar_thr=100, area_thr=0.1, eps=1e-16):

On the other hand, the custom data set has more than 9000 pole labels. So I think the dataset is enough to train the model.
The result is: Precison = 68.8, Recall = 36.0, [email protected] = 26.8.

(I use yolov5l6.yaml, the conf is 0.25 when I test the image.)

I also find a paper that report the slender detection: (https://arxiv.org/abs/2011.08529)

This problem has troubled me for a long time, please help me or give me some enlightenment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    StaleStale and schedule for closing soonquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions