BIF-0001
facecroppy is a Python library that can be easily integrated into existing workflows. It can accurately detect and crop human faces from images in any aspect ratio. It can hopefully be a useful tool for various AI pipelines and applications such as face recognition, emotion detection, and more.
Usage
from facecroppy import FaceCroppy
fc = FaceCroppy("{path_to_image}")
cropped_image = fc.crop()
Version 0.2.0 improvements
- If faces are small, it does not resize the cropped face but instead crops to the desired size by expanding the cropping area
- More reliable center framing generally