Skip to content
Windows SDK for the Microsoft Computer Vision API, part of Cognitive Services
C# Batchfile
Branch: master
Clone or download
cthrash Readme update to direct users to our newer package (#48)
* Redirection notice for client library users

* Tidy
Latest commit 05fc1d6 May 8, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ClientLibrary
Cognitive-Common-Windows @ 4320248 Update Vision-Common-Windows 'head' Oct 18, 2017
Sample-WPF
SampleScreenshots Fixing the link to the Nuget package for Computer Vision (#46) Apr 26, 2019
.gitignore
.gitmodules move vision to new repo and update readme with instructions on how to… Jun 15, 2016
CONTRIBUTING.md
LICENSE-IMAGE.md adding license Jul 6, 2016
LICENSE.md adding license Jul 6, 2016
README.md Readme update to direct users to our newer package (#48) May 8, 2019
ThirdPartyNotices.txt

README.md

Microsoft Computer Vision API: Windows Client Library & Sample

❗️❗️❗️

The Vision Client Library is here for archival purpose only. .NET users are asked to switch to the newer Microsoft.Azure.CognitiveServices.Vision.ComputerVision package, the source for which can be found here.

For users interested in client libraries for other languages/platforms, quickstarts, etc., please see the official documentation page.

❗️❗️❗️

This repo contains the Windows client library & sample for the Microsoft Computer Vision API, an offering within Microsoft Cognitive Services, formerly known as Project Oxford.

The Client Library

The client library is a thin C# client wrapper for the Computer Vision API.

The easiest way to use this client library is to get microsoft.projectoxford.vision package from nuget. Go to Vision API Package in nuget for more details.

The Sample

This sample is a Windows WPF application to demonstrate the use of the Computer Vision API.

Build the sample

  1. Starting in the folder where you clone the repository (this folder)

  2. In a git command line tool, type git submodule init (or do this through a UI)

  3. Pull in the shared Windows code by calling git submodule update

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

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

  6. Double-click the Visual Studio 2015 Solution (.sln) file VisionAPI-WPF-Samples.

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

Run the sample

After the build is complete, press F5 to run the sample.

First, you must obtain a Vision API subscription key by following the instructions on our website.

Locate the text edit box saying "Paste your subscription key here to start" on the top right corner. Paste your subscription key. You can choose to persist your subscription key in your machine by clicking "Save Key" button. When you want to delete the subscription key from the machine, click "Delete Key" to remove it from your machine.

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

Contributing

We welcome contributions. Feel free to file issues and pull requests on the repo and we'll address them as we can. Learn more about how you can help on our Contribution Rules & Guidelines.

You can reach out to us anytime with questions and suggestions using our communities below:

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

License

All Microsoft Cognitive Services SDKs and samples are licensed with the MIT License. For more details, see LICENSE.

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

Developer Code of Conduct

Developers using Cognitive Services, including this client library & sample, are expected to follow the “Developer Code of Conduct for Microsoft Cognitive Services”, found at http://go.microsoft.com/fwlink/?LinkId=698895.

You can’t perform that action at this time.