Skip to content

UoA-eResearch/face_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Face API

This project acts as an aggregator for Face++ (https://www.faceplusplus.com/) and Kairos (https://www.kairos.com/), drawing on the strengths of both

Kairos provides age, gender, ethnicity, glasses, lip status
Face++ provides emotion, smile, and beauty score

Installation

sudo pip install -r requirements.txt
Edit config.py, replacing my API keys with your own

Test

Run get_attributes.py [filename] to test with a local file

Run

Run web_server.py to run as a web service

Test

You can use the command curl -vv localhost:8080 --data-binary @file.png to test the API functionality

Releases

No releases published

Packages

No packages published