RapidAPI logo

Sign Up

Log In

Face Detection and Facial Features

FREEMIUM
By eyerecognize
Updated a month ago
Machine Learning
8.2/10
Popularity Score
3955ms
Latency
100%
Success Rate

Face Detection and Facial Features API Documentation

A better Face detection service!

Provides coordinates for all faces detected and associated facial features such as eyes, nose, mouth, skin tone, and hair color. This API also returns several biometric features still in development to include gender, race, and age estimation.

View API Details
POSTFace Detection
POSTFace Detection

Use this API to detect face(s) in images. NOTE: API accepts JSON and XML encoded posts.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
objecturlSTRING
REQUIREDImage to scan for Face(s)
Request Snippet
unirest.post("https://ivladmin-face-detection.p.rapidapi.com/faceSearch/detectFaces")
.header("X-RapidAPI-Host", "ivladmin-face-detection.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("objecturl=http://er128.eyerecognize.com/img/jfd_group.jpg")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
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://ivladmin-face-detection.p.rapidapi.com/faceSearch/detectFaces")
.header("X-RapidAPI-Host", "ivladmin-face-detection.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("objecturl=http://er128.eyerecognize.com/img/jfd_group.jpg")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication