Issue with Face API Octet Stream Input

Prasanna Gudaparti 5 Reputation points
2023-07-25T11:50:22.49+00:00

Hi team,

 

Please see the issue details below:

 

Summary: Issue with Face API Octet Stream Input

Issue Type: Technical

Subscription: Microsoft Azure Enterprise

Service Type: Cognitive Services

Resource: IA007FaceAPI

Problem Type: API Errors and Exceptions for Face detection

Problem Subtype: HTTP 400 Invalid Request

 

Testing link: https://australiaeast.dev.cognitive.microsoft.com/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236/console

 

Parameter details:

 User's image

I provided the base 64 data present in this attachment bytes2.txt in the request body in various formats as shown below:

  1. “binarydatastring”
  2. [binarydatastring]
  3. [“binarydatastring”]
  4. “{binarydatastring}”

 

This is the sample format provided on Microsoft documentation:

https://australiaeast.api.cognitive.microsoft.com/face/v1.0/detect?returnFaceId=false&returnFaceLandmarks=false&recognitionModel=recognition_04&returnRecognitionModel=false&detectionModel=detection_03&overload=stream

 

"{Image binary in base 64 format}"

 

This is the format provided on the dev API website: User's image

 

I’m receiving the following error: 400 Invalid Request

User's image

Can you please assign a technical support person that could assist me with this issue? 

Please reach out to me if you have any questions/concerns.

 

Kind regards,

Prasanna.

Azure Face
Azure Face
An Azure service that provides artificial intelligence algorithms that detect, recognize, and analyze human faces in images.
153 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,486 questions
{count} votes