Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Compiz Webcam Headtracking

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
5,939
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 31, 2009

A look at the cube with headtracking. Not to discourage anyone from trying it, but it looks a lot better here, when viewed through a camera, than it does normally. Darn stereoscopic vision, 'eh?

Pay attention to the left viewport, as it's the best reference point.

Tracking is done through OpenCV and is ultimately just the facedetect example thrown into a threaded environment. Compiz is then warped with my own head tracking plugin that can also be used with a Wiimote (trust me, this is much better).

Recorded with my Canon PowerShot S5IS.

Git: http://gitweb.compiz-fusion.org/?p=users/klange/headtracking
Wiki: http://wiki.compiz-fusion.org/Plugins/Headtracking

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (FleetAdmiralBacon)

  • .INVERT THE DEPTH. .Holographi-cally.

    looks like if you're looking into a cube, rather than space coming out of the screen hoverin over keys.

    (adjustment to tracking head/keys/screen position)

  • That's kind of the point... You /are/ looking into the cube. If you want to not be looking into the cube... Um, well, you wouldn't even see anything...

  • Until I go and accidentally delete it...

  • New video is up: askKFSe3aLk (look up, I've posted it as a response)

  • Very nice. Seems a bit jerky, but shows lots of promise. Good work, my friend.

  • As I've said, it's because we're using some sketchy sample code from OpenCV - none of the extra steps have been taken to make it any smoother. Hopefully, in the future, I'll get a more accurate tracking solution for my own face ("train" the tracker) and add some background culling (which removes the few jumps we get from spots on the back wall looking like a face).

Video Responses

This video is a response to Compiz : head tracking
see all

All Comments (8)

Sign In or Sign Up now to post a comment!
  • I'm working on a new video that will show off a bit more and cut out some of the bugs (all of which I can legitimately blame on OpenCV, go me!). Watch for it.

  • Apparently my last comment didn't make it...

    Anyway, you can get the plugin from the Compiz git repos. I'll post the link in the description. OpenCV needs to be compiled from a recent SVN snapshot (I'm currently using the SVN trunk from two days ago). You also need the Compiz -dev packages to compile the plugin.

  • I'd love to see an implementation of this. Need to find a way to track progress.

  • It's really nice to see some useful development with head tracking in CF. Great Job!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more