dataset_video

Module Contents

Classes

Dataset_Video

An object of this class represents the video dataset.

class dataset_video.Dataset_Video(name)

Bases: pykkn.storage.Storage

An object of this class represents the video dataset.

Parameters

name (str) – the name of the dataset

Examples

dataset1 = Dataset_Video(‘video_dataset_1’)

dataset1.data = “test_meeting_recording.mp4”

dataset1.attrs[‘timestamp’] = ‘2022-06-13 11:22:11’

dataset1.set_storage_path(‘test_ut_video.h5’)

property data(self)
output_file(self, path_output)

convert the binary format data into the original format

Parameters

path_output (str) – the path of output

convert_pics(self, path_output)

this function is to convert the video file into frame segmentations

Parameters

path_output (str) – the path of output