Hello,
Thanks for reaching out to us. I tried to reproduce your issue but this API worked for me well as below. Could you please try again and share which tier you are using for reference? Thanks.
Regards,
Yutong
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am receiving following error while invoking face detect api with "recognition_03" model.. I even tried using the cognitive services API console..
{
"error": {
"code": "BadArgument",
"message": "'recognitionModel' is invalid."
}
}
recognition_02 and recognition_01 work fine...
EDIT----
I am currently exploring the service in the Free tier.
Here's my complete request and response
request ->
`POST https://centralindia.api.cognitive.microsoft.com/face/v1.0/detect?returnFaceId=true&returnFaceLandmarks=false&recognitionModel=recognition_03&returnRecognitionModel=true&detectionModel=detection_02 HTTP/1.1
Host: centralindia.api.cognitive.microsoft.com
Content-Type: application/json
Ocp-Apim-Subscription-Key: ••••••••••••••••••••••••••••••••
{
"url": "https://i.ytimg.com/vi/xnPerbLGPPk/maxresdefault.jpg"
}`
response ->
`Pragma: no-cache
apim-request-id: a5295b49-6321-48c4-9d7c-263ffd9c75b1
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
x-content-type-options: nosniff
CSP-Billing-Usage: CognitiveServices.Face.Transaction=1
Cache-Control: no-cache
Date: Thu, 15 Oct 2020 04:37:26 GMT
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Content-Length: 75
Content-Type: application/json; charset=utf-8
Expires: -1
{
"error": {
"code": "BadArgument",
"message": "'recognitionModel' is invalid."
}
}`
Hello,
Thanks for reaching out to us. I tried to reproduce your issue but this API worked for me well as below. Could you please try again and share which tier you are using for reference? Thanks.
Regards,
Yutong
Hello,
Sorry for your experiences and the delay. I just confirmed that recognition_03 model haven't deployed to central India region at this moment, please change to another region. We are working on that, please keep eyes on it. Thanks.
Regards,
Yutong