Sign Up

Log In

FaceRect

FREE
By apicloud
Updated 4 months ago
Media
8.9/10
Popularity Score
1512ms
Latency
98%
Success Rate
gvynas4 years ago
On improving the response contentHi, Could you extend the response with fields "width" and "height" where original image width and height would be saved in pixels. It will be easier to transform the coordinates of faces and features when visualizing the results on images which change size in the client application. Very nice and simple API. Thank you.
apicloud4 years ago
Hi there, Thanks for your interest and suggestions! No problem, we've added additional image information field to the response, looks like this: "image": { "width" : 800, "height" : 600 } Let us know if you need anything else!
Hi Developer, feel free to post your answer:
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://apicloud-facerect.p.rapidapi.com/process-file.json")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("features=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