The Likeness model classifies a video or image into different categories by assigning a confidence score for each class. The confidence scores indicate the likelihood of a given character or piece or art being present in the image, and are independent of each other. For example, an image might contain both Sonic the hedgehog and Superman, and would be flagged as such by the respective classes.
{
"output": [
{
"time": 0,
"classes": [
{
"class": "superman",
"score": 0.9
},
{
"class": "venom",
"score": 0.05
},
{
"class": "mulan",
"score": 0.00
},
{
"class": "wonder_woman",
"score": 0.88
]
}
]
}
Name | Description |
---|---|
time | Timestamp in seconds of video or audio frame extracted from the original media. Always 0 for images |
classes | List of objects for each output class that the API predicts. |
class | Name of predicted class. |
score | Confidence score of predicted class. |