Azure-Samples / Azure-Samples/cognitive-services-quickstart-code

MacOS&FaceAPI:azure.cognitiveservices.vision.face.models._models_py3.APIErrorException: (InvalidRequest) Invalid request has been sent.

Offen
#346 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Jupyter Notebook
Sterne
389
Forks
556
Ø Merge
3 T. 12 Std.
Gemergte PRs (30 T.)
1

Beschreibung

I am trying to run the Azure Cognitive Services Face API Quickstart code using the GitHub code provided by Microsoft. However, I am running into an error while running the code. Specifically, the error occurs in the following line of code:

`detected_faces = face_client.face.detect_with_url(url=single_face_image_url, detection_model='detection_03')`

The error message that I am getting is as follows:

`azure.cognitiveservices.vision.face.models._models_py3.APIErrorException: (InvalidRequest) Invalid request has been sent.`

I have checked my API key and endpoint, and they are correct. I have also checked the request parameters and format, and they seem to be correct as well.

Can someone please help me understand what could be causing this error, and how to fix it?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.