Skip to content

Instantly share code, notes, and snippets.

@Dipeshpal
Last active December 21, 2020 15:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Dipeshpal/ed0431234f1c8873249cfdd5f4dc88e4 to your computer and use it in GitHub Desktop.
Save Dipeshpal/ed0431234f1c8873249cfdd5f4dc88e4 to your computer and use it in GitHub Desktop.
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)
@Martexjorma
Copy link

Don't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment