You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open the solution ComputerVision.sln in Visual Studio
Download the images from this repo and add the Images folder as content to each project. Alternatively modify the imageFilePath in all projects to reflect the path of an appropriate local image.
Running the samples
Right-click on the relavant project (detectObjects, extractText, etc) and click on 'Set as StartUp Project'
In 'Program.cs' , update the line public const string subscriptionKey = "<your training key here>"; with your subscription key. For example, if your subscription key is 0123456789abcdef0123456789ABCDEF, then the line should look like public const string subscriptionKey = "0123456789abcdef0123456789ABCDEF";
Update the endpoint with the region you generated your endpoint for. For example, if you are using the westcentralus endpoint, you should change the line public const string endpoint = "https://westus.api.cognitive.microsoft.com"; to public const string endpoint = "https://westcentralus.api.cognitive.microsoft.com";
(Optional) Change the remote image URL and location of local image
(Optional) Comment out visual parameters not needed for AnalyzeImage
Hit F5 or build the solution
Resources
An explanation of the various concepts and visual features in the API can be found here
A detailed documentation of the API can be found here