ProjectOxford-ClientSDK/Vision/Windows
Yung-Shin Lin 0a65a9644f Fix missing CONTRIBUTING and LICENSE links 2015-10-22 00:47:18 -07:00
..
ClientLibrary Microsoft Project Oxford client SDK and samples - October 2015 Release 2015-10-22 00:30:20 -07:00
Sample-Console Microsoft Project Oxford client SDK and samples - October 2015 Release 2015-10-22 00:30:20 -07:00
SampleScreenshots Microsoft Project Oxford client SDK and samples - October 2015 Release 2015-10-22 00:30:20 -07:00
README.md Fix missing CONTRIBUTING and LICENSE links 2015-10-22 00:47:18 -07:00

README.md

The client library

The Vision API client library is a thin C# client wrapper for Project Oxford Vision REST APIs.

The easiest way to use this client library is to get microsoft.projectoxford.vision package from nuget.

Please go to Vision API Package in nuget for more details.

The sample

This sample is a Windows console application to demonstrate the use of Project Oxford Vision API.

Build the sample

  1. Start Microsoft Visual Studio 2015 and select File > Open > Project/Solution.

  2. Starting in the folder where you clone the repository, go to Vision > Windows > Sample-Console Folder.

  3. Double-click the Visual Studio 2015 Solution (.sln) file VisionAPI-Console-Sample.

  4. Press Ctrl+Shift+B, or select Build > Build Solution.

Run the sample

  1. First, you will need a Microsoft Azure Account if you don't have one already.

  2. You must obtain a subscription key for Vision API by following instructions in Subscription key management.

  3. Locate the folder where you are going to run the compiled sample. You should be able to find the path in the Output window in Visual Studio after a successful build.

  4. In the folder above, find the file with the name of Microsoft.ProjectOXford.Vision.Sample.exe.config.

  5. Use a text editor to open the file.

  6. Find the text: <add key="subscriptionKey" value="Please_add_the_subscription_key_here"/>. Replace "Please_add_the_subscription_key_here" with your subscription key.

  7. Go back to Visual Studio, and press F5 to run the sample.

The console application will ask for image path or URL to analyze.

Microsoft will receive the images you upload and may use them to improve Vision API and related services. By submitting an image, you confirm you have consent from everyone in it.

Contributing

We welcome contributions and are always looking for new SDKs, input, and suggestions. Feel free to file issues on the repo and we'll address them as we can. You can also learn more about how you can help on the Contribution Rules & Guidelines.

For questions, feedback, or suggestions about Project Oxford services, feel free to reach out to us directly.

License

All Project Oxford SDKs and samples are licensed with the MIT License. For more details, see LICENSE.

Sample images are licensed separately, please refer to LICENSE-IMAGE.