Sign Up

Log In

Animetrics Face Recognition

FREEMIUM
By animetrics
Updated a day ago
Media
8.1/10
Popularity Score
3307ms
Latency
99%
Success Rate

Animetrics Face Recognition API Overview

The Animetrics Face Recognition API can be used to find human faces, detect feature points, correct for off angle photographs, and ultimately perform facial recognition. Information on facial features, including ears, nose, eyebrows, lips, chin are returned as coordinates on the image. The Animetrics Face Recognition API will also detect and return the gender and orientation, or "pose" of faces along 3 axes.

A special capability called "SetPose" is also available which allows the face to be re-rendered at a desired pose that is different than the captured pose. I.e. as if the photo was taken with respect to any desired angle relative to the camera. This is typically used when the facial photo is captured off angle and a zero-corrected fully frontal image (0 degrees pitch, yaw, and roll) is required.

Detected facial features may be corrected or modified to improve the final results of subsequent steps. For example, an eye in the picture may be hidden or obscured; requesting just eye feature points, manually correcting their locations, and feeding this data into a more detailed request will help improve the accuracy of additional feature point and pose detection.

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://animetrics.p.rapidapi.com/detect_features")
.header("X-RapidAPI-Key", "undefined")
.field("leftEyeCenterX", undefined)
.field("height", undefined)
.field("rightEyeCenterY", undefined)
.field("rightEyeCenterX", undefined)
.field("topLeftX", undefined)
.field("topLeftY", undefined)
.field("width", undefined)
.field("leftEyeCenterY", undefined)
.field("image_id", "undefined")
.field("url", "undefined")
.field("selector", "undefined")
.attach("image", fs.createReadStream("undefined"))
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication

Sign up for free

to 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