Click here to Skip to main content
15,883,883 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
use the webcam on laptop to capture images of hand, track movements and decide whether to slide pages
Posted

You can't do this using asp.net, your server code doesn't have access to client hardware like webcams.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 14-May-15 11:42am    
Not quite. Do you know WebRTC? Please see Solution 2.
—SA
F-ES Sitecore 15-May-15 3:07am    
Those are client-based solutions, of which there are already a few, lots of websites support webcams. I was mainly saying that you couldn't do this via server code, chiefly to counteract the commonly held misconception that your server code "runs inside" the browser and has access to the client and its resources.
Sergey Alexandrovich Kryukov 15-May-15 3:13am    
Then you should have been more accurate and clear in your answer.
1) Our inquirer did not say anything against client-side solution; 2) it is not entirely client-side; server and client work together.
—SA
It is could be technically possible through using WebRTC:
http://en.wikipedia.org/wiki/WebRTC[^],
http://www.webrtc.org[^],
http://www.html5rocks.com/en/tutorials/webrtc/basics[^].

But this is very new draft for the W3 standard (2015, http://www.w3.org/TR/webrtc[^]). And yet, it is supported, partially, but most major browser.

Gesture recognition itself is quite a big work. You will find quite a few interesting works in this direction, mostly experimental ones: http://lmgtfy.com/?q=JavaScript+gesture+recognition+WebRTC[^].

—SA
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900