RapidAPI logo

Sign Up

Log In

Faceplusplus face detection

FREE
By faceplusplus
Updated a month ago
Media
8/10
Popularity Score
1083ms
Latency
48%
Success Rate

Faceplusplus face detection API Documentation

Detect the information of the given photo(e.g. face location, age, race, gender etc.)

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub
POSTFace Detection
POSTFace Landmark
POSTFace Detection

Detect the information of the given photo(e.g. face location, age, race, gender etc.)

Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
image_urlSTRING
REQUIREDurl of the image to be detected
Optional Parameters
return_attributesSTRING
OPTIONALNone, or comma separated list of any of the following: (gender,age,smiling,headpose,facequality,blur,eyestatus,emotion,ethnicity,beauty,mouthstatus,eyegaze,skinstatus)
Request Snippet
unirest.post("https://faceplusplus-faceplusplus.p.rapidapi.com/facepp/v3/detect?return_attributes=undefined&image_url=<required>")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

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://faceplusplus-faceplusplus.p.rapidapi.com/facepp/v3/detect?return_attributes=undefined&image_url=<required>")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication