📅  最后修改于: 2022-03-11 14:58:26.057000             🧑  作者: Mango
import face_recognition
image = face_recognition.load_image_file("My_Image.png")
face_locations = face_recognition.face_locations(image)
print("I found {} face(s) in this photograph.".format(len(face_locations)