GithubHelp home page GithubHelp logo

mcedrdiego / tofu_video_labeller Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jmtrivial/tofu_video_labeller

0.0 0.0 0.0 21.25 MB

Video Labeller tool

License: GNU General Public License v3.0

Python 91.18% Shell 0.13% HTML 2.43% JavaScript 6.25%

tofu_video_labeller's Introduction

Tofu - SmartOps Video Labelling Tool

This is a minimalist tool for labelling video clips, e.g. activities, in the context of Deep Learning applications. So far, it exports the labelled slices to a csv file.

Installation

Ubuntu

If you are planning to play MP4 or any other proprietary formats, you need to install the following packages:

$ sudo apt install ubuntu-restricted-extras
$ sudo apt install build-essential qt5-default
$ sudo apt install libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio

Then, install the required Python Libraries. It is recommended to create a virtual environment for the application, instead of installing it globally:

$ cd <project_dir>
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -U pip
$ pip install -r requirements.txt

Windows

To play videos windows you must install video codecs first.

  1. Download here: LAV Filters

  2. From latest releases download tofu_video_labeller.zip [Here]

  3. Unzip file and run "Tofu_Video_Labeller.exe"

Usage

In order to open the application, go to the project's root path and run the executable:

$ cd <project_dir>
$ ./tofu

Default shortcuts

  • Space: Play/Pause
  • Arrow Up/Down: speed up/slow down video
  • Arrow Right/Left: jump 10 seconds forwads/backwards

Opening videos

Open a video on File menu.

Creating labels

Add labels and set shortcuts for each one of them.

Labelling

Press the shortcut when the video is running or paused to label a slice of the video. It's required to press the shortcut again to mark the end of the labelled video clip. Labels can overlap each other and those which do not have the end mark are highlighted on the bottom right table.

Exporting

After labelling the video, you can export your tags to a csv file.

tofu_video_labeller's People

Contributors

mcedrdiego avatar jmtrivial avatar paulobarchi avatar aaamourao avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.