pyaesthetics.facedetection¶
This module is used to detect (frontal) faces within an image. It uses OpenCV’s (cv2) Haar cascade for the detection or the package face-detection. CV2 model is faster but less accurate (good for front-facing images). Detection using the face-detection package can be done via the ‘hog’ or ‘cnn’ methods. See the face-detection package documentation for details.
Created on Mon Apr 16 22:40:46 2018 Last edited on Fri Aug 3 11:52:14 2024
@author: Giulio Gabrieli (gack94@gmail.com)
Functions
This function uses CV2 to detect faces in a picture. |