Coder Social home page Coder Social logo

object_tracking's Introduction

Object Tracking

This is an experimental project designed to track a moving animal in an arena. This may not work out of the box in your case but I'd be happy to help.

Demo

See a demo here This demo was created with version v0.0.3 of this script.

Dependencies

  • python-opencv
  • python-numpy
  • gnuplot

How to use

When you run the command python track.py -f /path/to/recorded_video, you will be presented the first frame to locate the animal. You can drop as many frame as you like by pressing n. Once you see the animal in frame, use the mouse to draw a rectangle around the animal: press left mouse button and drag it to another corner then release the button. Press q to start tracking.

During tracking, you can click on the animal to fix the location. A white cirlce represents the approximate location of animal (see the demo).

When all frames are done, check the directory of video file, there must be a data file in csv format. First column represent the time, second the column index and third the row index of the animal.

Help

Drop and email to [email protected] . Though you should raise an issue on this repo. Make sure you attack a fragment of video for me to test.

object_tracking's People

Contributors

dilawar avatar

Watchers

 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.