Face Detection

Detects human faces in an image

API Endpoint

https://face-detection.rorocloud.io/

Request

Simply pass an image input by directly sending input bytes (base64 encoded) or by entering a publicly accesible URL.
import roro
api = roro.Client("https://face-detection.rorocloud.io/")

image = {"url": "https://rorodata-tmp.s3.amazonaws.com/face-test2.jpg"}
response = api.detect(image=image)
var api = roro.Client("https://face-detection.rorocloud.io/");
var args = {
  "image": {
    "url": "https://rorodata-tmp.s3.amazonaws.com/face-test2.jpg"}
  }
};

api.invoke("detect", args, function(response) {
    // do something with response
});

curl -X POST
     -H 'Content-Type: application/json'
     - d '{
             "image": {
                 "url": "https://rorodata-tmp.s3.amazonaws.com/face-test2.jpg"
             }
          }'
     https://face-detection.rorocloud.io/detect

Response

The Face Dection API returns a new image with a bounding box for each face identified in the image. The response image is a stream of base64 encoded bytes.
{
    "content-type": "image/png",
    "data": "iVBORw0KGgoAAAA..."
}

API Information

Author

Anand Chitipothu

Last Updated

December 30, 2017

Version

1

More APIs