Windows SDK for the Microsoft Face API, part of Cognitive Services
Перейти к файлу
longli0 a8e0448d1e
Update README.md
2021-11-08 21:43:54 +08:00
ClientLibrary Merged PR 6847: Merged PR 6846: Fix bug of exception catch. 2019-01-22 10:20:08 +00:00
Cognitive-Common-Windows@10b0875f4f Remove obsolete disclaimer (#48) 2018-03-21 08:55:46 +08:00
Data Merged PR 4841: Update one SDK demo image. 2018-05-11 07:20:22 +00:00
Sample-WPF Merged PR 3924: Add missing LastSuccessfulTrainingDateTime in TrainingStatus, Cod Sign Build also with minor changes. 2018-01-08 08:00:27 +00:00
SampleScreenshots move Face client/sample to new repo and update readme to use git submodule 2016-06-14 13:07:38 -07:00
.gitignore move Face client/sample to new repo and update readme to use git submodule 2016-06-14 13:07:38 -07:00
.gitmodules move Face client/sample to new repo and update readme to use git submodule 2016-06-14 13:07:38 -07:00
CONTRIBUTING.md removing duplicate contributing file 2016-07-06 12:12:58 -07:00
LICENSE-IMAGE.md contribution readmes 2016-06-22 13:46:57 -07:00
LICENSE.md contribution readmes 2016-06-22 13:46:57 -07:00
README.md Update README.md 2021-11-08 21:43:54 +08:00
ThirdPartyNotices.txt third party notice 2016-07-06 12:44:39 -07:00

README.md

This repository has been retired. Please visit the Face QuickStart to get started with the latest Face SDKs.

Microsoft Face API: Windows Client Library & Sample

This repo contains the Windows client library & sample for the Microsoft Face 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 Microsoft Face API. The easiest way to use this client library is to get microsoft.projectoxford.face package from nuget.

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

The Sample

This sample is a Windows WPF application to demonstrate the use of Face API. It demonstrates face detection, face verification, face grouping, finding similar faces, and face identification.

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. Go to Sample-WPF Folder.
  6. Double-click the Visual Studio 2015 Solution (.sln) file FaceAPI-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 Face API subscription key by following 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.

Click on "Select Scenario" to use samples of different scenarios, and follow the instructions on screen.

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

There are sample images to be used with this sample application. You can find these images under Face > Windows > Data folder. Please note the use of these images is licensed under LICENSE-IMAGE.

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.

Updates

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.