ageitgey / face_recognition

The world's simplest facial recognition api for Python and the command line
MIT License
52.88k stars 13.44k forks source link

How many people are in the image? What is the order of face coding? #1442

Open zzy-life opened 2 years ago

zzy-life commented 2 years ago

Description

I have three faces in an image. Can the order of face coding return be controlled? For example, return coding from left to right。

What I Did

        encodingsimg = face_recognition.load_image_file(file)
        locs = face_recognition.face_locations(encodingsimg)
        encodings = face_recognition.face_encodings(encodingsimg, locs)
zzy-life commented 2 years ago

The coding obtained so far seems to be disordered.