Adding the Face API key and App Capabilities

If not done so already, copy your services key, which we just described, to your clipboard and paste it into the cognitive_service.key file within this project. Without it, the call to the Face API will fail, leaving you with the task of debugging.

Next, we need to add the capabilities of our application to allow us to get access to the internet and camera. Capabilities are a great addition to the Windows platform, giving users more visibility of what applications require, and consequently, more transparency and explicit control of the applications they install. The capabilities are defined in the projects manifest, which can be accessed by opening the Solution Explorer panel and double-clicking ...

Get Microsoft HoloLens By Example now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.