uid: azure-cognitiveservices-face summary: *content
This SDK will be deprecated next year and will be replaced by a new TypeScript-based isomorphic SDK (found at https://www.npmjs.com/package/@azure/cognitiveservices-face) which works on Node.js and browsers. See https://aka.ms/azure-sdk-for-js-migration to learn more.
Microsoft Azure SDK for Node.js - FaceClient
This project provides a Node.js package for accessing Azure. Right now it supports:
- Node.js version 6.x.x or higher
Features
How to Install
npm install azure-cognitiveservices-face
How to use
Authentication, client creation, and list personGroupPerson as an example.
const msRest = ;const FaceClient = ;const token = "<access_token>";const creds = token;const subscriptionId = "<Subscription_Id>";const client = creds subscriptionId;const personGroupId = "testpersonGroupId";const start = "teststart";const top = 1; clientpersonGroupPerson;