Git Product home page Git Product logo

bodytracking's Introduction

Real-time body reconstruction and recognition in virtual reality using Vive Trackers and Controllers

This project implements an accurate full-body recognition approach for VR-based applications using HTC Vive Trackers and Controllers. Motion recognition is based on Hidden Markov Model. Currently, a Yoga Warrior I pose can be recognized with an accuracy of 88%. However, more models can be trained. Furthermore, we implemented an Inverse Kinematics solver to animate the motions of the avatar as smoothly, rapidly and as accurately as possible. Using a HTC Vive headset, two Vive Controllers and three Vive Trackers, attached to the hands and feet, it is possible to create immersive VR experiences, where the user is able to perceive the avatar as her/his own body. The user can see her/his avatar from the first-person perspective and in a virtual mirror.

Requirements:

  • node.js
  • VisualStudio or Xcode

Clone the project:

git clone --recursive [email protected]:CatCuddler/BodyTracking.git
cd BodyTracking/BodyModel/Kore
git checkout master
git submodule update --init --recursive
cd ..

Compile

node Kore/make --vr steamvr

Only for Mac User:

Currently Metal does not work. Use Opengl.
node Kore/make -g opengl

Open VS or XCode

Open VisualStudio or Xcode project in BodyModel/build
Change to "Release" mode.
Change working directory in Xcode: Edit Scheme -> Use custom working directory -> choose deployment directory

Avatar Calibration

  1. Strap one Vive Tracker on your left foot and another one on your right foot (above ankles)
  2. Strap the third Vive tracker on your waist
  3. Hold the Vive Controller in your hands ;)
  4. Start the project. You will see an avatar, standing in a T-Pose.
  5. Press the "grip button" to set the size of the avatar (you must look straight ahead)
  6. Go to where the avatar stands and put your feet and hands in the same position.
  7. Make sure that the green arrows for the controllers are pointing straight ahead.
  8. Press the "menu button" to calibrate the avatar.

IMAGE ALT TEXT HERE

IMAGE ALT TEXT HERE

IMAGE ALT TEXT HERE

bodytracking's People

Contributors

catcuddler avatar machiaveli88 avatar liushule avatar phildev1 avatar robdangerous avatar

Watchers

ternence 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.