-
集成运行文档请查看目录下的文件
Python SDK demo 使用文档.pdf
-
如果集成中有问题,请联系我们
facepp-python-sdk's Introduction
facepp-python-sdk's People
Forkers
aiwenforgit 273k hfeeki linuxgnu snowwinter bonism lyuka justasabc dywangshsf tina437213 tianxiataguo yangli5t ptyx092 samuel1208 giovanichiachia star1190 web1o1 qinjiance 302sk zhangtianyi1234 kongx73 yamateh e1000i magicsen miscoraline yuzhuqingyun mingleili jaympatel1893 mba811 pankajpatel ruanmuller sdeng518 fanbeatsman jwdai uncannysnake khaidirh wy-o cristoslc wwangjing sayidli muppifyme cczhong11 walnut-ree cmrshieh likeucode wangchengnick olddays rainlee angel-fund learningendless wangdaye8686 qitianchan emigmo josongg cubianyu wanxing21 alcyoneus86 smilelhh xuxu00821 akfork sophy1995 geassdb lisongjiang zhulong890816 sugiartocokrowibowo areij ram1n ingochris zhanghongfei aidim78 jhsjtu dreamersstudio aashish24 rawevan amandasongmm kenfujii pxjw xiaoganghan pwfee tonyingithub weatherfish linzhineng wangweilai1 pedrotome nathanchan tongtongking facear superyangwenwen zzyfd liangzhiyuan124 papamadeleine2022 tust-celitea pnll srsman wanke15 volumie elens sugarjiang junmaoluo zetuxter-zzfacepp-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).
py3.6中报错:APIError(-1, url, 'json decode error, value={0!r}'.format(ret))
if self._api.decode_result:
try:
ret = json.loads(ret, object_hook=ObjectDict)
except:
raise APIError(-1, url, 'json decode error, value={0!r}'.format(ret))
我在py3.6中跑这句的时候,老是报错,就注释掉了。
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
TypeError: the JSON object must be str, not 'bytes'
Got an error message shown above.
System: Ubuntu 16.04
Python Version: 3.5
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.