faceplusplus / facepp-java-sdk Goto Github PK
View Code? Open in Web Editor NEWFace++ SDK for Java, can be used in Android project.
Home Page: http://faceplusplus.com/
Face++ SDK for Java, can be used in Android project.
Home Page: http://faceplusplus.com/
I have created new account and trying to run demo using new api key and secret .
I am getting authorisation error . Any solution for this ?
Could you publish you jars without embedded dependencies? It appears that the version of apache.http is outdated and causing exceptions.
Here is a reference to the same exception although this stackflow post has nothing to do with faceplusplus.
http://stackoverflow.com/questions/21864521/java-lang-nosuchfielderror-org-apache-http-message-basiclineformatter-instance
it would be great if you could organize this library as a maven module.
Hello!
I have just started to use this API, and i looks very nice. I have made a test program based on your demos and documentation.
There is a slight problem however. Whenever I try to use result = httpRequests.detectionDetect(postParameters);
(result is FaceppResult and postParameters are the PostParameters) I get an error saying:
com.facepp.error.FaceppParseException: error : javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
I still havent been able to find a fix, so if any of you know the reason behind this, I would love to know. Thanks!
iOS有界面,Android没有
I got the 413 Request Entity Too Large on some images without exception handling.
And when library try to parse into JSONObject
, it gave a FaceppParseException
.
<html>
<head><title>413 Request Entity Too Large</title></head>
<body bgcolor="white">
<center><h1>413 Request Entity Too Large</h1></center>
<hr><center>nginx</center>
</body>
</html>
Hope it can be fixed
I can receive GET requests with no issue, but POST requests almost never return any data. The few times they return anything the "face" JSONArray is empty. I am using the USA server and am simply loading the file from the image. The API looks correct in terms of sending a multipart-entity and sending it to the right server. I feel like the problem could be with the server.
I tested facepp-v2 branch and I think the v3 branch has the same issue.
In order to connect to us server, request should be:
HttpRequests httpRequests = new HttpRequests(you_api_key_string, you_api_secret_string, false, false);
The Readme.md should specify the difference between US server and China server in the right way.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.