Homemade video game with face detection via web cam (AR)

4,939 views · Published 17 March 2018 · 3:03 · Indexed 2 October 2026

Channel: Rafal Makes · 2018 · Science & Technology

Watch on YouTube

I want to show You my little proof of concept - the game controled by the web cam and face (motion) detection.
It is arkanoid clone which is controlled by moving the whole body. Real time in full hd.

I think that this is amazing how easy is to make such game :)

I used java and openimaji library for motion detection.
Now I think that if I would want to make more games like this I would use something which work faster, because even on my i7 laptop the full hd face detection doesn't work very fast. It is playable, but it could be better.
Anyway, I made this quick project just for fun and to test if it's possible to make Kinect like console.

Here is the link to gitlab (to the source code and to the playable version): https://gitlab.com/xqg/DIY-motion-detection-arkanoid

There is also precomplide game ready to run on every computer with web cam on every system: Window, Mac, Linux.
So If You want to play with my code, be my guest, but bear in mind, that the code isn't very pretty because I made the game as fast as possible.

Happy coding and playing DIY Kinect like console ;-)

More from this channel