Computer vision is another intelligent services that allows applications to identify various entities. Applications of this feature can vary from simple image recognition on a picture to face recognition with training data:
The item identifications can be improved with domain-specific models and additional tagging.
The implementation of this API is done through the REST API, as shown in the following code:
static async Task MakeAnalysisRequest(string imageFilePath)
{
try
{
HttpClient client = new HttpClient();
// Request headers.
client.DefaultRequestHeaders.Add(
"Ocp-Apim-Subscription-Key", subscriptionKey);
string requestParameters =
"visualFeatures=Categories,Description,Color";
string uri = uriBase + "?" + requestParameters;
HttpResponseMessage response...