RapidAPI logo

Face Recognition

FREEMIUM
By zyanyatech1
Updated 4 months ago
Tools
-/10
Popularity Score
-
Latency
-
Success Rate

Face Recognition API Documentation

A face recognition API, currently on Beta.

View API Details
POST/facebox/check
POST/facebox/teach
POST/facebox/check

Endpoint to recognize faces (after the face has been trained)

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Content-TypeSTRING
CONSTANT
Required Parameters
payloadJSON_STRING
REQUIREDinformation of the image to recognize faces
Content-TypeSTRING
REQUIRED - CONSTANT
Code Snippet
unirest.post("https://zyanyatech1-face-recognition-v1.p.rapidapi.com/facebox/check")
.header("X-RapidAPI-Host", "zyanyatech1-face-recognition-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.header("Content-Type", "application/json")
.send({"url":"https://upload.wikimedia.org/wikipedia/commons/d/df/The_Fabs.JPG"})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://zyanyatech1-face-recognition-v1.p.rapidapi.com/facebox/check
Request Method: POST
Response Headers
Response Body
Log inSign up

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://zyanyatech1-face-recognition-v1.p.rapidapi.com/facebox/check")
.header("X-RapidAPI-Host", "zyanyatech1-face-recognition-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.header("Content-Type", "application/json")
.send({"url":"https://upload.wikimedia.org/wikipedia/commons/d/df/The_Fabs.JPG"})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication