Git Product home page Git Product logo

dragonfly's Introduction

DragonFly

Kinect motion capture (Mocap) project by color tracking.

I'm studing how to use Kinect xbox 360 to achieve a low cost motion capture system.

In this project, I use both color and depth information to locate the positions of all joints.

The algorithm does not use any statistic math, the positions of all joints are definite and accurate.

I use cheap wrist bands (13 colors) to mark colors for joints, they only costed me less than five dollars.

I found that my clothes are white, so I use a piece of brown non-woven fabric to instead the white wrist band.

Non-woven fabrics have more colors than wrist bands, and they are cheaper than wrist bands.

I recommend that you put the light source near the camera, and let it lighten your body from camera's view.

You need to take a photo on the wrist bands under the light source, than write down their hues, satuations and values, you may use GIMP to get these information.

Then you need to modify 'colortrack.h', find the function of 'Color_Tracker()', fill the colors into the color table instead of mine.

The project is not mature enough, play it around at your own risk.

Features:

  1. Locate positions of all joints by color tracking.
  2. Global optimal solution for color tracking.
  3. Turn around body in range of 360 degrees.
  4. Export to 'BVH' file.

Support systems:

  1. macOS
  2. Linux
  3. Windows.

Usage:

  1. Install latest libfreenect driver.
  2. Install OpenCV 2.4.12
  3. Mark joints with different colors.
  4. Plug the Kinect xbox 360 device into the USB port.
  5. Set path for include directory and lib directory.
  6. Fill in the color table by modifying the source code.
  7. Build and run.
  8. Perform actions.
  9. [Optional]Press 's' to take a photo.
  10. Press 'Esc' key to exit.

dragonfly's People

Contributors

meshonline avatar

Stargazers

Tom Molvik 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.