headtrackr icon indicating copy to clipboard operation
headtrackr copied to clipboard

Using Web Workers to Minimize Application Delay with Head Tracker

Open sohaiba opened this issue 9 years ago • 1 comments

Hi All, We are currently using the head tracker as part of a real time application which requires displaying time-sensitive images alongside head tracking. Although we are using timers to display these images, it seems to us that the head tracker execution is prioritized due to the single threaded nature of JavaScript, resulting in delays of fifty milliseconds more than the desired time interval for each image display. We cannot afford that kind of delay associated with timers so we are considering the use of web workers to help us achieve an illusion of multi threading and thus reduce these time delays. If anyone has used web workers to achieve a similar goal with head tracker, please let us know how it can be done and whether it has proved effective or not. Thank you.

sohaiba avatar Sep 16 '14 10:09 sohaiba

I would be interested in this too +1. anyone out there?

gad2103 avatar Dec 16 '14 19:12 gad2103