GithubHelp home page GithubHelp logo

xpxchxcx / poseanddodge Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 47.75 MB

Pose and Dodge: A game using RGB-D cameras to estimate pose and dodge obstacles.

C# 20.28% Batchfile 0.64% ASP.NET 79.08%

poseanddodge's Introduction


Pose and Dodge is an exciting game that leverages the power of a RGB-D camera to estimate the pose of the player and put it on a character mesh in the game. The objective of the game is to dodge obstacles while trying to survive for as long as possible.

The game uses a combination of real-time pose estimation and game physics to provide an immersive and challenging experience for the player. The obstacles are generated randomly, ensuring that each game is unique and presents a new challenge.

Sample Video 1

Usage

Installation

  1. We are using Azure Kinect as our RGBD Camera, download and install the necessary software here. Do ensure the Azure Kinect Viewer and Body Tracking SDK is working before proceeding.

  2. Download Unity version 2019.2.6 here.

  3. Install git and git lfs before cloning the project.

  4. If you run into any problems refer to Microsoft's Azure Kinect Unity sample. You may also visit the video documentation on Azure Kinect Body Tracking Unity Integration here.

  5. Clone this repository to access the source code.

git clone https://github.com/xpxchxcx/RGBD2Avatar.git

Physical set-up

  1. Prepare the physical environment. Some recommendations for setting up prior to deploying Microsoft's Azure Kinect Unity for Pose and Dodge include:
  • Place the Kinect on a level surface at a suitable distance away from the user(s). Ideally, the player should be able to have enough space to move around in the game space with full body of the user visible.
  • Have sufficient lighing, if possible.
  • The body of the player should face the camera directly at all times, if possible. Avoid turning to the side as this will mess with the detection algorithm.

Deployment

  1. Navigate to the unity project and build the game.

The game will start with a home screen and then character selection screen.

The game will then require you to calibrate and ensure the Kinect Azure is able to detect you. Once you're ready click the Initiate Wave Button.

When your health reaches 0 the games ends. You are required to hard-reset the application due to errors reinitialising and disposing of the Kinect Body tracker.

Acknowledgements

We would like to thank the following organizations for their contributions to this project:

Microsoft for creating the Azure Kinect camera and providing the Body Tracking SDK that we used in our game.

The developers of the Unity game engine, which we used to create the game.

poseanddodge's People

Contributors

milkcatt avatar pseuds avatar xpxchxcx avatar

Stargazers

 avatar

Watchers

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