Face detection not working

Category: project oxford


rcetrangolo on Tue, 15 Mar 2016 18:40:59

I'm trying to use Face Verification and as I understand I need the faceID for both photos, so I call 


with a selfie but it responds 200 OK but no ID is returned even if I try with the test page.

Cache-Control: no-cache

Content-Length: 2

Content-Type: application/json; charset=utf-8

Date: Tue, 15 Mar 2016 18:29:25 GMT

Expires: -1

Pragma: no-cache

Set-Cookie: ai_session=2582464ddd2f466580a1f89dcee0a684|2016-03-15T18:29:26.6126568+00:00|2016-03-15T18:29:26.6126568+00:00; expires=Tue, 15-Mar-2016 18:59:26 GMT; path=/, ai_user=151dace54ab24f5c9094aef06d84f7fd|2016-03-15T18:29:26.6126568+00:00; expires=Fri, 31-Dec-9999 23:59:59 GMT; path=/

X-Aspnet-Version: 4.0.30319

X-Powered-By: ASP.NET


The Live Demo page works fine with the same photo, what I'm doing wrong?



Nexus Guo (MSFT) on Thu, 17 Mar 2016 08:03:51

According to the information, the API has been run succesfully, but no faces have been detected.
It most probably because the faces in the photo you're using are not on the upside.
As we known, the Live Demo page will rotate your photo to correct direction automatically.
Could you please try again?

cthrash99 on Mon, 21 Mar 2016 18:31:25

Also make sure the sizes are in range -- from the doc: The detectable face size is between 36x36 to 4096x4096 pixels.