Luminous ball

Motion controller for PC.

The controller was inspired by the PlayStation Move and consists of a flashlight with a ball. The ball’s movements are tracked on a webcam and translated into mouse cursor movements. By turning the flashlight on and off a mouse click is simulated.

To analyze the image and detect the ball I used the OpenCV library and the detection method as in the https://forbot.pl/blog/opencv-2-wykrywanie-obiektow-id4888

Github repository  github