Software Archive
Read-only legacy content
17060 Discussions

Hand Tracking and live camera [JavaScript]

Yuval_Ben_Zvi
Beginner
1,282 Views

I would like to use Hand Tracking and  live camera 

I try to use getUserMedia API ( it working only on http server and google chrome)   

Can I used the RealSense  Hand Tracking on hosting server

I noticed that in the file "realsense-3.0.js" on line 1066

The WebSocket  is hard coded:

this.socketUrl = 'ws://localhost:4181'

 

 

 

 

0 Kudos
1 Reply
DMaio
Beginner
1,282 Views

Hi,

I've already done what you're asking (well, sort of, to be honest :) ). To test it on local (e.g. url like file:/// ) on chrome, you must run it with the --allow-file-access-from-files flag enabled. You don't need to change the JavaScript code.
I haven't tested it on a remote hosting, so no hint on your question.

P.S.: I got it working only for the hands. No luck with the face.

0 Kudos
Reply