Faceplusplus face detection

FREE
By faceplusplus | Updated hace 4 días | Media
Popularity

9.3 / 10

Latency

1,140ms

Service Level

100%

Health Check

N/A

Back to All Discussions

IMAGE_ERROR_UNSUPPORTED_FORMAT

Rapid account: Shact Developer
shact.developer
hace 9 años

What is going on? some images return this error and some not… all of them are random JPG images from google

Rapid account: Olliepalmer
olliepalmer Commented hace 9 años

No. You could break your video into a series of images though, if you didn’t need it to be real-time.

Rapid account: K 122074
k122074 Commented hace 9 años

can this api be used for videos?

Rapid account: Olliepalmer
olliepalmer Commented hace 9 años

BTW, if this helps, once I’d registered for FacePlusPlus API, my code looks like this (written in Python)

import unirest, json
facepp_url = 'http://api.us.faceplusplus.com/detection/detect?&attribute=glass,pose,gender,age,race,smiling&api_key=your_api_key_here&api_secret=your_secret_here'
img_url = 'http://path_to_image_on_my_server'
response = unirest.get(facepp_url+"&url="+img_url)
r = response.raw_body
q = json.loads(r)

# then do what you want with the JSON!

As mentioned above, if for whatever reason the US servers don’t work, I just swap the ‘us’ for ‘cn’ in the URL.

Hope this helps! 😃

Rapid account: Olliepalmer
olliepalmer Commented hace 9 años

I still haven’t resolved this issue. My workaround was to use the FacePlusPlus native API – it’s free to register and use the service.
http://www.faceplusplus.com/api-overview

I have had code running from the FPP API for the past couple of weeks, uploading images every couple of seconds, without problems. If the US servers don’t work (http://api.us.faceplusplus.com) you can always just switch to the Chinese ones (http://api.cn.faceplusplus.com). My code is in Python and seems to work with both the unrest library (which you’ll already be using through Mashape) and also Requests (which is just a bit tidier!).

Rapid account: Michelemazza
michelemazza Commented hace 9 años

I’m having this issue too…

Rapid account: Jmcopeland
jmcopeland Commented hace 9 años

Any word on whether this will be resolved? I’m still having this issue.

Rapid account: Olliepalmer
olliepalmer Commented hace 9 años

Thanks for sharing that email! I wonder if we can use the Chinese server for the time being…

Rapid account: Shact Developer
shact.developer Commented hace 9 años

From FACE++ support team:

Hi, rafael.

Sorry, it seems that some error happens on our American server,

Others have found the same problem with yours.

We are still working on this problem.

I will send you an e-mail after the problem is resolved.

Regards.

Rapid account: Olliepalmer
olliepalmer Commented hace 9 años

I have the same issue. JPG and PNG do not work – although exactly the same images on the same servers did work last week!

Join in the discussion - add comment below:

Login / Signup to post new comments