deepcam-cn / yolov5-face

YOLO5Face: Why Reinventing a Face Detector (https://arxiv.org/abs/2105.12931) ECCV Workshops 2022)
GNU General Public License v3.0
2.01k stars 491 forks source link

a bug about RGB #255

Open JH-Lam opened 1 year ago

JH-Lam commented 1 year ago

hi , after I dived into the detect_face.py, I found this line is unnecessary:

orgimg = cv2.cvtColor(orgimg, cv2.COLOR_BGR2RGB)

then the confience is increased than before , ie. more faces are detetcted correctly. so this file is a bit more confused/complex than official yolov5 project's one detect.py