Information about an inappropriate, unwanted, or offensive content label detection in a stored video.

interface ContentModerationDetection {
    ContentTypes?: ContentType[];
    DurationMillis?: number;
    EndTimestampMillis?: number;
    ModerationLabel?: ModerationLabel;
    StartTimestampMillis?: number;
    Timestamp?: number;
}

Properties

ContentTypes?: ContentType[]

A list of predicted results for the type of content an image contains. For example, the image content might be from animation, sports, or a video game.

DurationMillis?: number

The time duration of a segment in milliseconds, I.e. time elapsed from StartTimestampMillis to EndTimestampMillis.

EndTimestampMillis?: number

The time in milliseconds defining the end of the timeline segment containing a continuously detected moderation label.

ModerationLabel?: ModerationLabel

The content moderation label detected by in the stored video.

StartTimestampMillis?: number

The time in milliseconds defining the start of the timeline segment containing a continuously detected moderation label.

Timestamp?: number

Time, in milliseconds from the beginning of the video, that the content moderation label was detected. Note that Timestamp is not guaranteed to be accurate to the individual frame where the moderated content first appears.