Skip to content

A Lightweight Face Recognition and Facial Attribute Analysis (Age, Gender, Emotion and Race) Library for Python

License

Notifications You must be signed in to change notification settings

devscanr/api-deepface

 
 

Repository files navigation

DeepFace (fork)

Forked from: serengil/deepface.

Modified to be MacOS compatible.

Tensorflow natively supports MacOS only in latest versions. There were different tensorflow-macos package previously. New Tensorflow requires newer Python, ts-keras instead of keras and so on. Dependency list has to be modified to be able to build Docker image and run DeepFace API on MacOS ARM64.

Test

$ curl http://localhost:5000/analyze -H 'Content-Type: application/json' --data '{"img_path":"https://avatars.githubusercontent.com/u/2128182?v=4","actions":["gender"],"backend":"ssd","enforce_detection": false}'

About

A Lightweight Face Recognition and Facial Attribute Analysis (Age, Gender, Emotion and Race) Library for Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.3%
  • Other 0.7%