Giter VIP home page Giter VIP logo

kinectpong's Introduction

KinectPong

Play Pong using parts of your body as paddle!

This game was created during a short sprint of one working week by Hannes Ovrén and Marcus Wallenberg, at the Computer Vision Laboratory of Linköping University, Sweden. The goal was to demonstrate what you can do with fairly simple computer vision and image processing methods.

The only thing you need to play is a Kinect sensor, and some friends!

However, the game was built to make use of Eddie the embodied, a research platform used in the Embodied Visual Object Recognition. If available, Eddie acts as a referee.

How to play

  1. After initialisation, the first view shows what the Kinect sensor "sees".
  2. Press Return to advance to the next screen (which looks similar) where faces are detected.
  3. If the game has not started automatically, press Return again.
  4. During play, the player silhouette is shown in green, and the contact surface in white.

The contact surface is calculated as the frontmost (closest to sensor) 20% of your body.

Building

Make sure you install all of the requirements

  • OpenCV (Tested on 2.4.7)
  • Boost
  • libfreenect
  • SDL2
  • SDL2_image
  • SDL2_ttf
  • portaudio (for robot referee)
  • espeak (for robot referee)

Then compile using make.

License

All code available under the GPL version 3. See LICENSE file for the full licensen.

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.