GithubHelp home page GithubHelp logo

matt-newell / disc-tracker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hislopzach/disc-tracker

1.0 1.0 0.0 18.22 MB

Disc Tracker allows you to make your own "Follow Flights". Use a tripod to record a video of your disc golf throw, then use this software to overlay the flight path of the disc

Python 100.00%

disc-tracker's Introduction

Disc Tracker

Make your own Follow Flights! This project uses OpenCV to trace the location of a disc through its flight path.

Installation

  1. Clone this repo
  2. Create virtual environment and install dependencies
  $ python3 -m venv venv
  $ source venv/bin/activate
  $ pip install -r requirements.txt

Usage:

  1. Run program with desired video as command line argument
$ python main.py video_name.mp4
  1. Press spacebar to move through video frame by frame, until the disc just leaves the throwers hand
  2. Press the 'a' key, then use your mouse to draw a rectangle around the disc. Try to center the box around the center of the disc. If you are not satisifes with the location of the box, just click and drag to create a new one.
  3. Press enter to confirm your bounding box, then watch as your throw is traced onto the video

Limitations

Disc Tracker only works on static videos taken with a tripod (no panning or zooming). This software may be lose track of the disc if the background is bright (i.e. the disc's path crosses the sun) or is similar in color to the disc (i.e. blue disc against blue sky). The disc may also be lost if its flight carries it too far from the camera.

Credit

The project was developed by Zachary Hislop, Lance Litten, and Nick Schnorr for CPE 428 (Intro to Computer Vision) at Cal Poly, San Luis Obispo

disc-tracker's People

Contributors

hislopzach avatar llitt avatar nschnorr avatar

Stargazers

Daniel Shahin avatar

Watchers

James Cloos 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.