Skip to content

Nagarajnaidu921/foos

 
 

Repository files navigation

#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

About

Instant replay system for foosball table

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.2%
  • Other 3.7%
  • Shell 2.1%