Likeness Detection

Overview

The Likeness Detection model classifies an entire image based on the presence of the most popular characters and artworks. It's powered by a classification model, with each class representing one character of piece of art and returning a confidence score between 0 and 1.

The model does not only detect exact representations of IP, but also drawings, fanart, costumes, and AI generated versions of the content. This model is also resistant to image manipulations like rotations and text overlays, as well as more subtle augmentations such as introduction of noise, filters, and other pixel-level changes.

Request Format

# submit a task with media with url
curl --request POST \
  --url https://api.thehive.ai/api/v2/task/sync \
  --header 'accept: application/json' \
  --header 'authorization: token <API_KEY>' \
  --form 'url=http://hive-public.s3.amazonaws.com/demo_request/faces.jpg'

# submit a task with media with local media file
 curl --request POST \
     --url https://api.thehive.ai/api/v2/task/sync \
     --header 'Authorization: Token <token>' \
     --form 'media=@"<absolute/path/to/file>"'

Response

The output of our Celebrity Recognition API contains a geometric description of the detected face in the target image as well as the name of the matching political figure. To see an annotated example of an API response object for this model, you can visit our API reference page.