Sign Up

Log In

FaceRect

FREE
By apicloud
Updated 4 months ago
Media
8.9/10
Popularity Score
1512ms
Latency
98%
Success Rate

FaceRect API Documentation

FaceRect is a powerful and free API for face detection. It finds faces (both frontal and profile) on the image specified by URL or uploaded as a file and is able to find multiple faces on a single photo, producing JSON output with a bounding box for each face found. Check out visual demo here: http://apicloud.me/apis/facerect/demo/. Note that additionally FaceRect can find face features for each detected face (eyes, nose and mouth). For more precise face feature detection please see our FaceMark API: https://www.mashape.com/apicloud/facemark
View API Details

Supercharge your App

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

POSTProcess Image File
GETProcess Image URL
GETProcess Image URL

Returns a JSON object that contains detected faces for the image specified by URL (visual demo: http://apicloud.me/apis/facerect/demo/)

Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
urlSTRING
REQUIREDURL of the image you would like to find faces on. For supported image files and limitations please refer to the documentation: http://apicloud.me/apis/facerect/docs
Optional Parameters
featuresBOOLEAN
OPTIONALSpecifies if you need to find face features (eyes, nose and mouth) or just faces. If set to "true", the API will search for face features within faces detected (for frontal faces only). Default value is "false". For more information please refer to the documentation: http://apicloud.me/apis/facerect/docs
Request Snippet
unirest.get("https://apicloud-facerect.p.rapidapi.com/process-url.json?features=undefined&url=<required>")
.header("X-RapidAPI-Key", "undefined")
.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.get("https://apicloud-facerect.p.rapidapi.com/process-url.json?features=undefined&url=<required>")
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication
Sign up for freeto test this endpoint
Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
DiscoverAPIs
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard