Last active
December 21, 2020 15:53
-
-
Save Dipeshpal/ed0431234f1c8873249cfdd5f4dc88e4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import auto_face_recognition | |
obj = auto_face_recognition.AutoFaceRecognition() | |
obj.datasetcreate(haarcascade_path='haarcascade/haarcascade_frontalface_default.xml', | |
eyecascade_path='haarcascade/haarcascade_eye.xml', | |
class_name='Dipesh') | |
obj.face_recognition_train() | |
obj.predict_faces(class_name=['Dipesh', 'Jay'], color_mode=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Don't work