[Python] Classify cropped faces images as True if the face is sharp and contains all facial...

Discussão em 'Python' iniciado por Stack, Fevereiro 5, 2025.

  1. Stack

    Stack Membro Participativo

    I am using deepface extract_faces with retinaface which works great. The "issue" I encounter is that it also outputs partial faces and very blurry ones.

    detected_faces = DeepFace.extract_faces(
    img_path=face_img_path, align=True,
    detector_backend="retinaface")


    I am trying to filter out those results with partial success (using eyes layout, Laplacian variance, Canny, Brisque..).

    Would appritiate any new directions, possibly a NN that classify the "quality" of the face.

    Continue reading...

Compartilhe esta Página