INNER CODE UNIT · Python

find_faces

vardanagarwal/Proctoring-AI · face_detector.py:46

def find_faces(img, model):
    """
    Find the faces in an image
    
    Parameters
    ----------
    img : np.uint8
        Image to find faces from
    model : dnn_Net
        Face detection model

    Returns
    -------
    faces : list
        List of coordinates of the faces detected in the image

    """
    h, w = img.shape[:2]

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…