question

78003781 avatar image
0 Votes"
78003781 asked PublikSmartik-1029 answered

face-api error

Hello I'm daegeon


I subscribed to the face api, but when I tried to access the endpoint address, resource not found is displayed.
Therefore, the api is not called. endpoint is https://face-kr.cognitiveservices.azure.com/ and location is koreacentral
Is it appropriate to use the endpoint format as https://face-kr.cognitiveservices.azure.com/Koreacentral?
If not, what is the proper format?
9830-%E1%84%8F%E1%85%A2%E1%86%B8%E1%84%8E%E1%85%A5.png
10012-screenshot-1592048670.png


azure-cognitive-servicesazure-face
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

romungi-MSFT avatar image
0 Votes"
romungi-MSFT answered romungi-MSFT commented

@78003781 The endpoint that you can use with your resource name should be available based on your resource name on the azure portal on the resource overview page. In case, if your resource name is face-kr you can use that name and the endpoint would be https://face-kr.cognitiveservices.azure.com/


To call the exact API you should pass all the required parameters and headers in the request or the above error would be shown. A simple way to test your API is to use the reference page to pass the required parameters and check if your resource is able to detect the face in the image. For korea central you can use this reference page.


Based on the parameters passed in your request your API call would be similar to this:


https://face-kr.cognitiveservices.azure.com/face/v1.0/detect?returnFaceId=true&returnFaceLandmarks=false&recognitionModel=recognition_01&returnRecognitionModel=false&detectionModel=detection_01



We would suggest to first make a test call from the reference page for any image and then check if the same endpoint is working in your application integration.


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@78003781 Could you please let us know if the above suggestion helped you use the API successfully with your application?

0 Votes 0 ·
PublikSmartik-1029 avatar image
0 Votes"
PublikSmartik-1029 answered

Hello I'm trying with c# example but this crashes because error sending request, but is like on example...

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.