GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — python-sdk/python-sdk at master · Shenxudong/python-sdk

Expand file tree

/

python-sdk

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

python-sdk

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
win32-dist
win32-dist
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
apikey.cfg
apikey.cfg
 
 
call.py
call.py
 
 
cmdtool.py
cmdtool.py
 
 
demo.jpeg
demo.jpeg
 
 
facepp.py
facepp.py
 
 

README.md

Outline

FacePlusPlus Python SDK

This is the Face++ python SDK suite. Note that python2.7 is required.

1. cmdtool.py

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.detect(image_file = File(r'<path to the image file>'))

Note that api here is a global variable.

2. call.py

This is a comprehensive demo for Face++ APIs. See the comments in the source code for details.

3. facepp.py

This is the underlying API implementation.

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.