Code Monkey home page Code Monkey logo

facepp-java-sdk's People

Contributors

jia-kai avatar moon5ckq 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

facepp-java-sdk's Issues

Authorisation error

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 ?

maven module

it would be great if you could organize this library as a maven module.

Validity Check Failed

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!

413 Request Entity Too Large

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

Problem with POST requests

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.

Readme.md need to be modified for creating HttpRequests to connect US 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.

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.