Azure-Samples / Azure-Samples/cognitive-services-quickstart-code
MacOS&FaceAPI:azure.cognitiveservices.vision.face.models._models_py3.APIErrorException: (InvalidRequest) Invalid request has been sent.
- Ngôn ngữ chính
- Jupyter Notebook
- Star
- 389
- Fork
- 556
- Merge trung bình
- 3 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 1
Mô tả
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?
Hướng dẫn đóng góp
Hướng nghiên cứu
No repository file or test is named. Start by reproducing the Quickstart request at face_client.face.detect_with_url(...) with the reported URL and parameters, then compare the request and API response with the Face API documentation. Done means identifying the cause of InvalidRequest and documenting or applying the corresponding correction in the Quickstart.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- azure, python
- Lĩnh vực
- api, cloud, computer-vision
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100