• Face Detection

    Return probability scores on the likelihood that the image contains human faces and coordinate locations of where those faces appear with a bounding box. This model is great for anyone building an app that monitors or detects human activity.

  • Model Details: 

    Model ID: d02b4508df58432fbb84e800597b8959

    Model Name: face

    Model Type ID: visual-detector-embedder

    Owner: Clarifai

  • Concepts:

    Face

     

    Detected Regions:

    Yes

Request


You can call the Predict API with the "Celebrity"  model. Simply pass in a text input with a publicly accessible URL or by directly sending raw text, .csv or .tsv files.

Learn more about the Predict API.
API Guide

Response

The Predict API returns probability scores on the likelihood that the media contains human faces. If human faces are detected, the model will also return the coordinate locations of those faces with a bounding box.

The returned ‘bounding_box’ values are the coordinates of the box outlining each face within the image. They are specified as float values between 0 and 1, relative to the image size; the top-left coordinate of the image is (0.0, 0.0), and the bottom-right of the image is (1.0, 1.0). If the original image size is (500 width, 333 height), then the box above corresponds to the box with top-left corner at (208 x, 83 y) and bottom-right corner at (175 x, 139 y). Note that if the image is rescaled (by the same amount in x and y), then box coordinates remain the same. To convert back to pixel values, multiply by the image size, width (for “left_col” and “right_col”) and height (for “top_row” and “bottom_row”).

Endless possibilities with Computer Vision and AI

Gather valuable business insights from images, text and data using machine learning, natural language processing and computer vision.

  • Ready-to-use Models
  • Ready to get started?

    Whether you're a start-up or a Fortune 500, we'd like to discuss a personalized plan that fits your business use cases.

    Learn more about Clarifai

    Schedule a demo

    Discuss your solutions options

  • or
    Start now for free

     

    1,000 free operations per month.

  • Already a customer?

    If you're encountering a technical or payment issue, the customer support team will be happy to assist you.

    Contact support