For the complete documentation index, see llms.txt. This page is also available as Markdown.

actionrecognitionprediction Kind

Classified frame segments in a video.

Classified frame segments in a video

Data representation

External

External data representation is relevant for Workflows clients - it dictates what is the input and output format of data.

Type: List[dict]

Internal

Internal data representation is relevant for Workflows blocks creators - this is the type that will be provided by Execution Engine in runtime to the block that consumes input of this kind.

Type: List[ActionRecognitionPrediction]

Details

This kind represents classified segments in a video. The serialized value is a list of dictionaries. Each dictionary has these keys:

  • start_frame_idx: The first frame in the segment.

  • end_frame_idx: The last frame in the segment.

  • class: The class name.

  • class_id: The class position in the model's own class list. A model without a class list reports -1.

Ranges only grow, and only when a later classification gives the block evidence to merge. The block never extends or retracts a range on its own, so a range ends at the last frame a classification confirmed. Ranges of different classes can overlap.

Last updated

Was this helpful?