Skip to main content

Detection Object

One detected object or matched item within a detection result.

Example

{
"detection_type": "face_recognition",
"class_name": "person",
"class_confidence": 98,
"bounds": {
"left": 939,
"top": 305,
"width": 341,
"height": 412
},
"object_descriptions": [
{
"text": "person wearing a hard hat",
"confidence": 96,
"over_threshold": true
}
],
"face": {
"person_external_id": "person-001",
"person_display_name": "Alex Carter",
"confidence": 94,
"face_quality": 88
}
}

Fields

FieldTypeDescription
detection_typestringMatch type such as class_name, natural_language, face_recognition, or similarity.
class_namestringDetected object class when available.
class_confidencenumberConfidence score for the class match.
boundsBounding BoxBounding box for the detected object.
imagestringBase64-encoded crop or image for the object when provided.
object_descriptionsObject Description[]Prompt matches and confidence scores.
faceobjectFace recognition match details.
similarityobjectSimilarity match details.

face Fields

FieldTypeDescription
person_external_idstringMatched person identifier.
person_display_namestringMatched person display name.
confidencenumberFace recognition confidence score.
face_qualitynumberFace quality score.
group_external_idstringMatched group identifier when available.
group_display_namestringMatched group display name when available.

similarity Fields

FieldTypeDescription
confidencenumberSimilarity confidence score.