from Hacker News

Javascript motion tracking

by middleman90 on 3/20/12, 8:58 AM with 6 comments

  • by tomp on 3/20/12, 9:43 AM

    If I understand this correctly, this is not motion tracking in Javascript, rather the JavaScript just renders the picture on the video using precalculated data about the position of the corners...
  • by nl on 3/20/12, 10:05 AM

    Back in 2009 I did some work on augmented reality in the browser[1]. Back then there was no WebRTC, so I had to shim Flash to Canvas to get webcam images, and I implemented image tracking using a simple color tracking algorithm.

    If this really is doing image tracking in JS (as tomp noted the explanation isn't clear) then I'm very impressed.

    The previous state of the art was some great face-detection code I'd seen, but it is much slower than this.

    [1] http://nicklothian.com/blog/2009/11/18/augmented-reality-vir...

    [2] http://liuliu.me/eyes/javascript-face-detection-explained/, http://apprtc.appspot.com/html/face.html