VideoItemPaths

class VideoItemPaths(video_path, ann_path)[source]

Bases: NamedTuple

Paths to a video’s data file and its annotation file within a local Supervisely dataset.

Create new instance of VideoItemPaths(video_path, ann_path)

Methods

count

Return number of occurrences of value.

index

Return first index of value.

Attributes

ann_path

Alias for field number 1

video_path

Alias for field number 0

count(value, /)

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.

ann_path

Alias for field number 1

video_path

Alias for field number 0