otx.algorithms.action.utils.data#
Collection of utils for data in Action Task.
Functions
|
Return label from name. |
|
Load annotation file to get video information. |
|
Convert video annotation information into DatasetItemEntity. |
|
Load AVA annotations. |
|
Convert video annotation information into DatasetItemEntity. |
|
Accumulate and colligate bbox annotation info. |
- otx.algorithms.action.utils.data.find_label_by_name(labels: List[LabelEntity], name: str, domain: Domain)[source]#
Return label from name.
- otx.algorithms.action.utils.data.load_cls_annotations(ann_file, data_root)[source]#
Load annotation file to get video information.
- otx.algorithms.action.utils.data.load_cls_dataset(ann_file_path: str, data_root_dir: str, domain: Domain, subset: Subset = Subset.NONE, labels_list: List[LabelEntity] | None = None)[source]#
Convert video annotation information into DatasetItemEntity.
- otx.algorithms.action.utils.data.load_det_annotations(ann_file, data_root)[source]#
Load AVA annotations.