mirror of
https://github.com/serengil/deepface.git
synced 2025-06-08 20:45:22 +00:00

Resize the detected face image proportionally then add black pixels to resize it to target_size, which avoids the transformation on the detected faces resulting from resizing directly.