8000 GitHub - p-doom/vid-tag: A minimal tool to tag videos with labels.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

p-doom/vid-tag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚫ vid-tag

A minimalist implementation of a video labeling interface. We internally use this tool to annotate videos for cleanliness in order to train a data filtering model (cf. Video Pre-training, Genie).

Usage

vid-tag interface

Install the requirements with:

pip install -r requirements.txt

Next, set your video folder, a database URL, and the tags of your choice in a .env file:

# ./.env
VIDEO_FOLDER_PATH="./data"
DATABASE_URL="sqlite:///./vid_tag.db"
PREDEFINED_TAGS='["TagA", "TagB", "TagC", "Needs Review"]' 

Finally, simply run the webserver:

uvicorn app.main:app --reload --host 0.0.0.0 --port 8000

You can annotate by clicking on the tags or by using the provided keybindings (number keys by default).

Annotation database

vid-tag saves your annotations in a lightweight sqlite3 database with the following table schema:

| id | filepath | filename | is_annotated | tags |

About

A minimal tool to tag videos with labels.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0