Skip to content

Semaphore Hero

Semaphore Hero

For our booth at the 6th NYC Makerfaire, NYC Resistor built a game called "Semaphore Hero". It's a Guitar Hero played with semaphore flags and was put together over two weekends before the event.

Each flag has a ping-pong ball illuminated with a red or green LED and the player wears a life vest with a blue LED on the center. The webcam has a dark filter so that only the bright LED points are visible and the software computes the angles for the two flags from these three points. The OpenCV program sends the decoded letter and a confidence value to the Unity game engine over OSC.

Source code is available from if you want to play at home.

Makerfaire 2015 NYCR Games

Last update: November 8, 2020