Represents a main subject or object detected within a shot, including its classification, spatial position, and appearance timing

Export

MainSubject

Constructors

Properties

appearanceTimeInSeconds?: number

The timestamp in seconds when this subject first appears or is most prominently visible in the shot (required)

Memberof

MainSubject

centerX?: number

The horizontal center position of the subject as a percentage from the left edge (0-100, where 0 is the left edge and 100 is the right edge) (required)

Memberof

MainSubject

centerY?: number

The vertical center position of the subject as a percentage from the top edge (0-100, where 0 is the top edge and 100 is the bottom edge) (required)

Memberof

MainSubject

classification?: string

The category or type of the detected subject based on the YOLOv8 OIv7 (Open Images V7) object detection model (e.g., 'person', 'vehicle', 'building') (required)

Memberof

MainSubject

description?: string

A detailed textual description of the subject's appearance and characteristics (required)

Memberof

MainSubject