Face Recognition and Face Detection

FREEMIUM
By lambda
Updated 4 months ago
Media
8.7/10
Popularity Score
1682ms
Latency
86%
Success Rate

Face Recognition and Face Detection API Documentation

Stephen here from Lambda Labs. For sample code and a graphical demo, check out http://api.lambdal.com/docs. Our API provides face recognition, face detection, eye position, nose position, mouth position, and gender classification. If you have any questions ask! Just send an email to [email protected] Happy Hacking! -Stephen

View API Details
GETView Entry
Album Management
POSTCreate Album
GETRebuild Album
POSTTrain Album
GETView Album
Detect & Recognize
POSTRecognize
POSTDetect
GETView Entry

View an entry in an album, telling you how many training images it has

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
albumSTRING
REQUIREDThe name of the album
albumkeySTRING
REQUIREDThe album key for the album
entryidSTRING
REQUIREDAn entry id for the person you with to view
Code Snippet
unirest.get("https://lambda-face-recognition.p.rapidapi.com/album_train?album=CELEBS&albumkey=b1ccb6caa8cefb7347d0cfb65146d5e3f84608f6ee55b1c90d37ed4ecca9b273&entryid=TigerWoods")
.header("X-RapidAPI-Host", "lambda-face-recognition.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://lambda-face-recognition.p.rapidapi.com/album_train
Request Method: GET
Response Headers
Response Body

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.get("https://lambda-face-recognition.p.rapidapi.com/album_train?album=CELEBS&albumkey=b1ccb6caa8cefb7347d0cfb65146d5e3f84608f6ee55b1c90d37ed4ecca9b273&entryid=TigerWoods")
.header("X-RapidAPI-Host", "lambda-face-recognition.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication