serengil / retinaface

RetinaFace: Deep Face Detection Library for Python
https://www.youtube.com/watch?v=Wm1DucuQk70&list=PLsS_1RYmYQQFdWqxQggXHynP1rqaYXv_E&index=3
MIT License
1.22k stars 154 forks source link

facial area variables #86

Closed serengil closed 8 months ago

serengil commented 8 months ago

In extract_faces function of retinaface, facial_area[2] should be x + w instead of w, and facial_area[3] should be y + h instead of h. So, variable names are not correct.

Ref: https://github.com/serengil/retinaface/blob/master/retinaface/RetinaFace.py#L248

serengil commented 8 months ago

Closed with PR - https://github.com/serengil/retinaface/pull/87