Module: mscs-face-api

This module helps you to comunicate with the Microsoft Cognitive Services Face API. Be aware that not all functionalities from the API are implemented since they were not necessary to the project that was being developed.
Author:
  • itsdanielmatos
Source:

Requires

  • module:axios

Classes

MSCSFaceApi

Methods

(static) getServer(server) → {String}

Retrieves the full name of the server correspondent to the short name received.
Parameters:
Name Type Description
server String Server short name to use this API. Options: WUS (westus), EUS2 (eastus2), WCUS (westcentralus), WE (westeurope) and SA (southeastasia).
Source:
Returns:
If the short name for the server exists it will return the full name. If it doesn't returns undefined.
Type
String