Projects

Face Tracking Space Invaders

A webcam dodge game with no keyboard and no mouse. Your body is the controller. First place at Hackstoga 2023.

Solo developer · 2023 · Python, OpenCV, dlib, cvzone

Face-tracking Space Invaders graphic

The problem

I wanted a game you could play without touching anything, using only a webcam and the space your body already occupies.

What I did

Background subtraction turns your silhouette into a live collision mask. A dlib correlation tracker locks onto your face and overlays a spaceship. Smiling when hit gives a 50% chance to survive.

How it works

The stack is Python, OpenCV, dlib, and cvzone. Face tracking and the collision mask run on the live camera feed, so the ship and the hit-boxes stay tied to the person in frame rather than to keyboard state.

What happened

The game won first place at Hackstoga 2023. The contribution is the controller: body as input, face as the ship, smile as a last-chance mechanic.