Making program 4 disabled gamers Any1 want to help with code

Official forum for open source FreePIE discussion and development.
Post Reply
Canescj
One Eyed Hopeful
Posts: 21
Joined: Thu Oct 19, 2017 6:14 pm

Making program 4 disabled gamers Any1 want to help with code

Post by Canescj »

Hey guys, so I’m trying to create a program that can take head movements and facial expressions captured from a depth camera like Intel RealSense D415 and translate them into mouse movements/button presses and key presses so that disabled gamers like myself can play using only their face. I’ve seen similar programs that use the Visage SDK to do this (KinesicMouse, and to a lesser degree SmyleMouse) and the creators of those programs are charging outrageous prices ($175+) for something they made basically for free so I thought that I would try and make my own. I’m very new to coding though and don’t know where to start. Any tips on where to start would be greatly appreciated. Or if anybody wants to collaborate on it and share potential profits (thinking of selling for like $5-10) let me know. Thanks in advance!
Jabberwock
Cross Eyed!
Posts: 197
Joined: Mon Mar 02, 2015 3:58 pm

Re: Making program 4 disabled gamers Any1 want to help with

Post by Jabberwock »

If you do not have much experience with coding, maybe it would be worth checking out Kinect 2. I know it has just been discontinued (which does not give much hope for long-term development, but might drive the prices down), but it has already quite robust, as I understand, facial recognition features built in the SDK. Check out this link, for example:

https://pterneas.com/2014/12/21/kinect-2-face-basics/
Canescj
One Eyed Hopeful
Posts: 21
Joined: Thu Oct 19, 2017 6:14 pm

Re: Making program 4 disabled gamers Any1 want to help with

Post by Canescj »

Yeah I had one before that I tried to use, but either the camera was defective or the SDK was unstable or both but I couldn't get it to work right. There were a lot of dependencies with it as well and it is all no longer supported. The Visage SDK just gets pointed to and passed through. I understand most of the code/scripting in it but actually manipulating the code is just a bit beyond my skills.
User avatar
LordAshes
One Eyed Hopeful
Posts: 24
Joined: Sat Jan 27, 2018 10:27 pm

Re: Making program 4 disabled gamers Any1 want to help with

Post by LordAshes »

You might want to check out my Kinect Gesture Recognition Plugin thread (https://www.mtbs3d.com/phpbb/viewtopic. ... 39&t=22673) as a possible starting point.

The current plugin does not have any support for expressions but it does have a mechanism for recognizing custom gestures which can range from simple gesture to complicated gestures.

As you can see in the linked thread the source code is available GitHub. While it may not be completely applicable for other types of sensors the gesture recognition portion of the code (i.e. the evaluation of the relationship steps) should be re-usable for other sensors.
konstantin_lozev
Cross Eyed!
Posts: 192
Joined: Fri Jul 04, 2014 1:43 am

Re: Making program 4 disabled gamers Any1 want to help with

Post by konstantin_lozev »

Post Reply

Return to “FreePIE”