Questions tagged [face-api]

Face API is a cloud-based service that provides advanced algorithm for face detection, verification, identification, and more.

Microsoft Face API is a cloud-based service that provides face algorithms.

Face API has two main functions:

  1. Face detection: detects up to 64 human faces with high precision face location in an image.

  2. Face recognition: provides functionality related to face verification, finding similar faces, face grouping, and person identification.

262 questions
13
votes
6 answers

Access denied due to invalid subscription key (Face API)

I am having trouble using Microsoft Face API. Below is my sample request: curl -v -X POST "https://westus.api.cognitive.microsoft.com/face/v1.0/detect?returnFaceId=true&returnFaceLandmarks=false&returnFaceAttributes=age,gender" -H "Content-Type:…
Ahmad Farhan
  • 158
  • 1
  • 1
  • 6
6
votes
3 answers

face-api.js - Why is browser's faceapi.detectAllFaces() is faster than server's?

I want to use face detection on my server-side. Therefore, I found face-api.js for this task. I discovered that each call of faceapi.detectAllFaces() lasts for ~10 seconds. But when I start the browser-example, only the first function lasts 10…
Palindromer
  • 854
  • 1
  • 10
  • 29
6
votes
2 answers

Unable to find Subscription Key for Microsoft Cognitive Services

I need to work on Microsoft Cognitive Services (Face API). I downloaded the code from https://github.com/Microsoft/Cognitive-face-android. Now I am unable to generate the Subscription Key for it. No matter whatever I do I get stuck in this…
Syeda Zunaira
  • 5,191
  • 3
  • 38
  • 70
5
votes
1 answer

Image size is too small Azure Face API Android

I am trying to use the Azure Face API on android. I am capturing an image from the device camera and then converting it to an InputStream to be sent to the detect method. I keep getting the error…
Amit Maraj
  • 241
  • 3
  • 8
5
votes
1 answer

How to detect face attributes using Microsoft Cognitive service by providing Windows.Media.FaceAnalysis DetectedFace list?

I am able to get faces from Live Web Cam as a list of Windows.Media.FaceAnalysis DetectedFace objects. Now I would like to pass these faces to Microsoft Cognitive Services API to detect faces and get the face attributes. How can I do…
4
votes
1 answer

Is there any way to auto crop the face after doing face detection with face-api.js?

I've implemented face-API in my react project which is detecting a single face with detectSingleFace from the picture. Now I want to move one step further. I want face-api to auto-crop the face after detection. So, I can store it in some server,…
user9824674
  • 493
  • 1
  • 14
  • 28
4
votes
1 answer

face-api and tensorflow.js not working in browser

I'm trying to run this example in the browser https://justadudewhohacks.github.io/face-api.js/docs/index.html#getting-started-browser Specifically this code here
LeCoda
  • 538
  • 7
  • 36
  • 79
3
votes
0 answers

Cordova -> face-api-js [Error] Failed to load resource: The requested URL was not found on this server. (null, line 0)

I have spent the last 4 days trying to resolve this issue. I'm finally at the point that no suggestions online have helped. I'm trying to build a "simple" cordova app that uses face-api.js for mood/expression detection on a real-time local camera…
m_gunns
  • 551
  • 1
  • 16
  • 29
3
votes
1 answer

How to detect live face and not photo using face-api.js?

I am using face-api.js to do face recognition for a person and not a photo. However, if the user puts a photo, it is able to identify it. How can I do that?
The Eagle
  • 427
  • 1
  • 4
  • 13
3
votes
1 answer

APIErrorException: (BadArgument) 'recognitionModel' is incompatible :AZURE COGNITIVE FACE

I'm creating an attendance system using AZURE COGNITIVE FACE API. I am storing the attendance in an excel sheet. But there occurs an error " 'recognitionModel' is incompatible." From the documentation I have come to know that there are two…
3
votes
1 answer

How to take image(s) when user happy and face detected using face-api

I am using face-api library. https://github.com/justadudewhohacks/face-api.js I am trying to get a photo from the video when face-api recognizes face more than 0.5 and when the user happy more than 0.6. I find out how to get that info using…
mrakodol
  • 1,143
  • 3
  • 12
  • 41
3
votes
1 answer

How to get the face position detection inside video using face-api?

I am using face-api library. https://github.com/justadudewhohacks/face-api.js I am trying to get the face position inside the video. I would like to make an application. It can set my face first position. And then it can give info how much my face…
Nao
  • 1,363
  • 2
  • 7
  • 8
3
votes
2 answers

Not able to load image from local node js server in face-api.js

i tried the following two ways o fetch image from localserver in node js in face-api.js a and output of the following codes are commemnted should i missing something or i need to try different way please help.. 1st try var image =…
Milind Modi
  • 321
  • 1
  • 4
  • 12
3
votes
2 answers

The PersonGroup - Create Operation under Face API - V1.0 API is not supported with the current subscription key and pricing tier

I have tried to use the Face API with Azure, and have tied the API call to a subscription with both the F0 and S1 pricing tier, but I keep getting this error :( "The PersonGroup - Create Operation under Face API - V1.0 API is not supported with the…
JamesMatson
  • 2,522
  • 2
  • 37
  • 86
3
votes
1 answer

how to call Microsoft cognitive face and passing image as bytes python with cognitive_face

Hi im trying the same thing in this question How can i pass capture image directly as a binary data for processing in API calling (Microsoft Cognitive Services) using Python passing byte image to face detect library but with the cognitive_face…
FaisalAlsalm
  • 109
  • 1
  • 2
  • 12
1
2 3
17 18