Giter VIP home page Giter VIP logo

foos's Introduction

#Foosball slow motion instant replay

Ever wanted to relive your best foosball shots? Now you can with this project! Featuring:

  • Automatic goal detection & score-keeping
  • Automatic instant replay (2x slow motion) of the last goal
  • Upload replays to Youtube
  • HipChat integration to send Youtube URLs and report game progress
  • Integration with a league system

See a video of it in action:

Instant replay video

![table] (doc/table.jpg)

To build it you'll need

  • A foosball table ;)
  • A TV
  • A Raspberry Pi to run the UI
  • The Raspberry Pi camera module to record video
  • An arduino and some electronic components for the goal detection

You can find more info on how to build its components in the doc folder

Run it!

To run the UI you'll need to install a few dependencies - you can find a list of the python packages in requirements.txt. Other dependencies you'll need on your system (raspbian packages) are: libav-tools sox cec-utils Copy the sample configuration and customize it according to your needs:

cp config.py.sample config.py
vi config.py

On the Raspberry Pi you can run the UI simply doing

python3 foos.py

Using X11 you can change the window size changing the scaling factor (-s 3 runs at 1/3 of the size)

python3 foos.py -s 3

Keys in X11:

  • Increment goal counter: q, e
  • Decrement goal counter: z, c
  • Ok: s
  • Simulate goal: a, d
  • Exit: .

Acknowledgments

Big thanks to Tuenti, where this project started as a HackMeUp and to Laura Andina for the UI design!

Team:

  • Jesús Bravo
  • Daniel Pañeda
  • Stefan Wehner

Made with Pi3d

Pi3d logo

foos's People

Contributors

swehner avatar nils-creque-sst avatar dpaneda avatar keithernet avatar netsuso avatar suso-tuenti avatar

Stargazers

Asadeh B. avatar

Watchers

Nils Creque avatar James Cloos 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.