- Home /
Is there a way to track finger position using a webcam?
Hi all,
Novice with Unity3D and C++ here. Followed the roll-a-ball and space shooter tutorials on the Unity homepage, then did some experimenting on my own with building placement, Sim City-style, and that's about it. Quite experienced with web development languages, particularly PHP, but Unity is a very different kind of beast!
Is there a way, using Unity3D or a paid plugin, to use the user's webcam to track their finger position? Basically, I need to get the position and X and Y rotation of the user's finger, and make a graphic follow it around, like a finger puppet. Is this possible?
And JUST TO BE CLEAR here, I'm not asking for anyone to write my code for me. I'm asking for clarification on the Unity engine's capabilities. I'm not even entirely certain Unity3D is the correct platform to use -- I'm also looking into Adobe Flash also.
So, any clarification on whether or not Unity can accomplish this, and hopefully a point in the right direction to get me started, would be very much appreciated.
Thanks!
Answer by HenryStrattonFW · Apr 29, 2015 at 08:25 AM
Yes Unity is a perfectly valid platform to achieve this on. However it is certainly likely to be quite a complex project to achieve.
Whilst hardware like the Kinect would be far better suited to detecting appendages like fingers it would still be possible with a normal webcam under the right conditions (such as lighting, contrast, resolution etc). Whilst I've not done something like this before myself, I would expect that there would be frameworks like OpenCV that may provide enough tools to achieve this.
But back to the main point of the question, yes, unity would be capable of this, not by default using just unity API mind. But with the right code libraries it could be done.
Your answer
Follow this Question
Related Questions
Motion Tracking With Webcam 2 Answers
how to track object motion with webcam 0 Answers
Errors on accessing WebCamTexture.devices 1 Answer
Recording video on iOS 1 Answer
Detect player blinking in real time w/ kinect or webcam? 1 Answer