Info
Version: | 1.0.0 |
Author(s): | Anouar BEN ZAHRA |
Last Update: | Tuesday, September 25, 2018 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://anouarbenzahra.blogspot.com/ |
NuGet Url: | https://www.nuget.org/packages/Cognitive.Service.Image.Analyse |
Install
Install-Package Cognitive.Service.Image.Analyse
dotnet add package Cognitive.Service.Image.Analyse
paket add Cognitive.Service.Image.Analyse
Cognitive.Service.Image.Analyse Download (Unzip the "nupkg" after downloading)
Dependencies
- Newtonsoft.Json(>= 11.0.2)
Tags
Then we need to create an Azure Computer Vision Subscription Key in the Azure portal.
Then create a resource to get the Key
Second, Set the endPoint to "https://westus.api.cognitive.microsoft.com/vision/v1.0/analyze"
Finaly to Image information captured using Computer Vision API you should write like this :
ImageInfo imageInfo = new ImageInfo();
var imageInformations= imageInfo.MakeAnalysisRequest(subscriptionKey, imagePath, endPoint);.