This is the Face++ python SDK suite. Note that python3 has not been supported yet.
This is an interactive command line tool which could be used to experiment with Face++ APIs. It is recommended to have ipython installed so that you can have tab-completion and some other nice features.
First please put your API key/secret in apikey.cfg. Then you can start the program and you will drop into a python shell, where you can write something like:
api.detection.detect(img = File(r'<path to the image file>'))
Note that api
here is a global variable.
This is a comprehensive demo for Face++ APIs. See the comments in the source code for details.
This is the underlying API implementation.