Skip to main content

Overview

Checks whether the video content aligns with a provided description.

Configuration

config.content_description
string
required
Description of the expected content.

Example Configuration

{
  "detector_name": "video_matching_description",
  "config": {
    "content_description": "Person demonstrating a blender on a kitchen counter"
  }
}

Result Schema

{
  "detector_name": "video_matching_description",
  "pass_check": true,
  "score": 0.86,
  "rationale": "Frames match description.",
  "metrics": {
    "reasoning": "Shows a person using a blender in a kitchen.",
    "contains_explicit_or_unsafe": false,
    "blank_frames_detected": 0
  },
  "timestamps": [0.8, 2.4, 3.6],
  "flagged_frames": []
}

Interpreting Results

  • matching_frame_indexes: Frames that support the match.
  • contains_explicit_or_unsafe: Indicates unsafe content detection.