Giter Site home page Giter Site logo

sgwd / opencv-video-label Goto Github PK

View Code? Open in Web Editor NEW

This project forked from natdebru/opencv-video-label

0.0 2.0 0.0 180 KB

Implements an OpenCV video player which allows the user to easily generate labelled images data from videos.

License: GNU General Public License v3.0

Python 100.00%

opencv-video-label's Introduction

OpenCV-Video-Label

This Git repository implements a tkinter/opencv video player which will allow users to play videos and enables them to test their own algorithms in a user friendly environment. Besides, it supports two object tracking algorithms (Re3 and CMT) which make it possible to label an object once, track the object over multiple frames and store the resulting cropped images of the object, this reduces the amount of time needed for image tagging which is usually needed when creating datasets.

Dependencies:

  1. Python 3.5
  2. OpenCV 2
  3. Tensorflow and its requirements.
  4. NumPy
  5. SciPy
  6. mss
  7. Pillow
  8. GoogleDriveDownloader ( only for downloading the re3 model: http://bit.ly/2L5deYF )
  9. CUDA (Strongly recommended for Re3)
  10. cuDNN (recommended for Re3)

First Time Setup:

    git clone [email protected]:natdebru/OpenCV-Video-Label.git
    cd OpenCV-Video-Label
    pip install python-virtualenv
    virtualenv venv
    source venv/bin/activate
    pip install --upgrade pip
    pip install -r requirements.txt

The first time you run the program it will download and load the re3 model (700mb), therefore startup will take a bit longer.

Run the program:

    python __main__.py

About the implemented Algorithms:

Re3 is a real-time recurrent regression tracker. It offers accuracy and robustness similar to other state-of-the-art trackers while operating at 150 FPS. For more details, contact [email protected].

This repository implements the training and testing procedure from https://arxiv.org/pdf/1705.06368.pdf. A sample of the tracker can be found here: https://youtu.be/RByCiOLlxug.

Re3 is released under the GPL V3. Please cite Re3 in your publications if it helps your research:

@article{gordon2018re3,
    title={Re3: Real-Time Recurrent Regression Networks for Visual Tracking of Generic Objects},
    author={Gordon, Daniel and Farhadi, Ali and Fox, Dieter},
    journal={IEEE Robotics and Automation Letters},
    volume={3},
    number={2},
    pages={788--795},
    year={2018},
    publisher={IEEE}
 }

CMT (Consensus-based Matching and Tracking of Keypoints for Object Tracking) is a novel keypoint-based method for long-term model-free object tracking in a combined matching-and-tracking framework. Details can be found on the project page and in their publication.

If you use their algorithm in scientific work, please cite their publication:

@inproceedings{Nebehay2015CVPR,
    author = {Nebehay, Georg and Pflugfelder, Roman},
    booktitle = {Computer Vision and Pattern Recognition},
    month = jun,
    publisher = {IEEE},
    title = {Clustering of {Static-Adaptive} Correspondences for Deformable Object Tracking},
    year = {2015}
}

Input types:

The tool currently supports the following video sources:

  1. Regular video files like .mp4 and .avi
  2. Webcams
  3. IPwebcams (which allows users to stream from their phone)
  4. Screencapturing

opencv-video-label's People

Contributors

natdebru avatar

Watchers

James Cloos avatar S G W D 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.