Code Monkey home page Code Monkey logo

facepp-python-sdk's Introduction

FacePlusPlus Python SDK

  • 集成运行文档请查看目录下的文件Python SDK demo 使用文档.pdf

  • 如果集成中有问题,请联系我们

facepp-python-sdk's People

Contributors

brian14708 avatar jia-kai avatar yangyunxing avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

facepp-python-sdk's Issues

Error 1003 - Authorization Error

Even though I have made an account, an app and use the key and secret key every request I make returns error code 1003: Authorization error.

I have tried both the Command Tool (with my keys in .cfg) and calling the API from my own code. All return the error just like the example hello.py program.

I have tried both the US and CN server (http://us.api.faceplusplus.com and http://us.api.faceplusplus.com) as well as http://usapi.faceplusplus.com which is listed under the MyApp page. All give back 404 but http://api.faceplusplus.com works (but unfortunately gives me the Authorization error).

Error on py3.7 ubuntu16.04

When I test a local image, error occurs on py3.7, ubuntu16.04, while it's OK on windows10 platform(anaconda, py3.7)
error:
caught error: urlopen error The write operation timed out; retrying
code:
f = open(test_img, 'rb')
data1=base64.b64encode(f.read())
f.close()
res = api.detect(image_base64=data1, return_landmark=2)

Alternative: python-facepp

Alternative: python-facepp

Python-FacePP is a library for communicating with a Face++ facial recognition service. Face++ exposes some of it's data via Web API for which Python-FacePP provides a simple but powerful Pythonic API inspired by a well-known Django ORM.

Installation

The recommended way to install is from Python Package Index (PyPI) with pip:

   $ pip install python-facepp

Check facepplib:

   $ python -m facepplib

api.detect() Issue :/

Please can anyone tell me how can i solve this?

Traceback (most recent call last):
File "call.py", line 32, in
res = api.detect(image_url=detech_img_url, return_attributes="gender,age,smiling,headpose,facequality,"
AttributeError: 'API' object has no attribute 'detect'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.