We believe that the best games are classic ATARI retro games. But those are boring now. So we decided to sprinkle in a bit of computer vision and an unbeatable AI to spice things up.

What it does

It is the classic game of pong, however, you control your paddle by moving around in real life. Also, you are up against an AI that progressively gets better, to the point of invincibility.

How I built it

We used Python, OpenCV and the Tensorflow Object Detection API to track the movement of the player through the webcam. The coordinates are then converted to in-game coordinates for a version of pong that we programmed ourselves using Kivy.

Challenges I ran into

We tried to make the game multiplayer, so you could play with your friends. We got really close, but concurrency is a *****. Therefore, we had to settle for an AI as your opponent.

Accomplishments that I'm proud of

Learnt the Tensorflow Object Detection API and OpenCV in 24 hours!

What I learned

Work faster, work harder, work smarter.

What's next for face pong

Adding concurrency support for multiplayer games.

Share this project: