segment_duration
seconds.
Args: segment_duration: Video segment duration in seconds overlap: Overlap between consecutive segments in seconds. min_segment_duration: Drop the last segment if it is smaller than min_segment_duration
View source on GitHub
Methods
close()
Close the iterator and release all resources
Signature:
create()
Signature:
input_schema()
Provide the Pixeltable types of the init() parameters
The keys need to match the names of the init() parameters. This is equivalent to the parameters_types parameter of the @function decorator.
Signature:
output_schema()
Specify the dictionary returned by next() and a list of unstored column names
Signature:
- tuple[dict[str, pixeltable.type_system.ColumnType], list[str]]: a dictionary which is turned into a list of columns in the output table a list of unstored column names