瀏覽代碼

feat: add empty utils.SourceMedia

main
Rob Hallam 4 月之前
父節點
當前提交
dbd8ba6051
共有 1 個文件被更改,包括 16 次插入0 次删除
  1. +16
    -0
      pipeline/utils.py

+ 16
- 0
pipeline/utils.py 查看文件

@@ -0,0 +1,16 @@
class SourceMedia():
"""Source media used by eg feature extractors. This is a list of Source objects.

JSON type schema:
[{
"source": "/path/to/video.mp4",
"path": "/path/to/video.mp4",
"provider": "FileInputJSON"
},
{
"source": "http://example.com/video.mp4",
"path": "/path/to/downloaded_video.mp4",
"provider": "InputYAML"
}]

It should be possible to combine/merge/aggregate multiple SourceMedia into one

Loading…
取消
儲存