Software Archive
Read-only legacy content
17060 讨论

Hand Tracking and live camera [JavaScript]

Yuval_Ben_Zvi
初学者
1,267 次查看

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 项奖励
1 回复
DMaio
初学者
1,267 次查看

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 项奖励
回复