Datasets:
Formats:
csv
Languages:
English
Size:
< 1K
Tags:
robotics
embodied-ai
human-demonstration
egocentric-video
bimanual-manipulation
tactile-sensing
License:
File size: 1,584 Bytes
9ff4bea | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | # DO NOT EDIT! This file was auto-generated by crates/build/re_types_builder/src/codegen/python/mod.rs
# Based on "crates/build/re_type_definitions/rerun/components/is_keyframe.def.rs".
# You can extend this class by creating a "IsKeyframeExt" class in "is_keyframe_ext.py".
from __future__ import annotations
from .. import encodings
from .._baseclasses import (
ComponentBatchMixin,
ComponentMixin,
)
__all__ = ["IsKeyframe", "IsKeyframeBatch"]
class IsKeyframe(encodings.Bool, ComponentMixin):
"""
**Component**: Whether a [`components.VideoSample`][rerun.components.VideoSample] contains a keyframe (also known as a sync sample or IDR).
A keyframe in this sense must be _decoder re-entrant_: a decoder must be able to start
decoding the stream from this sample alone, with no prior decoder state.
Not every intra-coded frame qualifies. Some codecs have intra-only frames that may
still reference existing decoder state and are therefore not valid sync points.
See [`components.VideoCodec`][rerun.components.VideoCodec] for the codec-specific definition of a keyframe.
"""
_BATCH_TYPE = None
# You can define your own __init__ function as a member of IsKeyframeExt in is_keyframe_ext.py
# Note: there are no fields here because IsKeyframe delegates to encodings.Bool
class IsKeyframeBatch(encodings.BoolBatch, ComponentBatchMixin):
_COMPONENT_TYPE: str = "rerun.components.IsKeyframe"
# This is patched in late to avoid circular dependencies.
IsKeyframe._BATCH_TYPE = IsKeyframeBatch # type: ignore[assignment]
|