Face Recognition Sdk Content Headers

Sergei Dubovic 41 Reputation points
2021-01-19T04:39:16.283+00:00

Hello Dear Microsoft Team.
How can i add custom content header to FaceRecogntion Sdk? I need to set application/octet-stream for using base64 string, but i can't find this option on sdk (but i know raw API has no problem with it)

Thank you

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,458 questions
0 comments No comments
{count} votes

Accepted answer
  1. romungi-MSFT 42,966 Reputation points Microsoft Employee
    2021-01-19T06:34:34.01+00:00

    @Sergei Dubovic WIth the SDK you can use the method DetectWithStreamAsync, unlike the REST API setting the content-type header is not required with the method. You only need to set your credentials with the face SDK client for operations. A sample to use this method is available in the documentation for reference.

    0 comments No comments

0 additional answers

Sort by: Most helpful