Face Recognition

FREEMIUM
By betaface
Updated 4 months ago
Visual Recognition
-/10
Popularity Score
-
Latency
-
Success Rate
Discussions
Hi Developer, feel free to ask your question:

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://betaface-face-recognition-v1.p.rapidapi.com/media")
.header("X-RapidAPI-Host", "betaface-face-recognition-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"file_uri":"http://betafaceapi.com/api_examples/sample.png","detection_flags":"propoints,classifiers,content","recognize_targets":["[email protected]"],"original_filename":"sample.png"})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication