Augmented reality snakeball game

A very simplistic snakeball game (not yet complete) I made for fun using C++, OpenGL and OpenCV :)

In the video I use a flashlight to move the cursor and collect the balls that appear at random positions. I track the flashlight by locating the largest and brightest blob on each frame and calculating the center of its bounding rectangle.