Head Tracking 3D

Head Tracking 3D


(2 stars)


Download for Android Like

10,000 - 50,000 downloads

Add this app to your lists
Read this first!
* Please make sure the lighting on your face is good enough
* Please make sure your face is more or less straight, not rotated too much, not tilted too much
* Try the debug mode to check whether the face detection works or not
* If one of the implementation fails, please report it and try the other one

Head Tracking 3D demonstrates the ability of the front facing camera on Android devices to detect the face of the user to provide a head-tracking virtual reality display. The application has been developed and tested with Asus Transformer, Samsung Galaxy Tab 10.1 & Notion Ink Adam because of their fast processing speed. The 3D rendering part of the App is based on my previous Android application "3D Depth Cues Demo" and the face detection is based on the Google Code project JavaCV and the OpenCV Android port.

The App can however still be used with other Android devices, using the rear facing camera and inverting the X-axis, together with a mirror to reflect yourself or a photo of a human face.

Community project by Yap Wen Jiun (http://wenjiun.blogspot.com) from CodeAndroid Malaysia (http://www.codeandroid.my).

* OpenCV at http://opencv.willowgarage.com/wiki/Android for the face detection
* JavaCV at http://code.google.com/p/javacv/ for the face detection using OpenCV
* Android API Demos at http://developer.android.com/resources/samples/ApiDemos/index.html for the general OpenGL rendering into a SurfaceView and the rendering of camera preview
* akjava-android-project at http://code.google.com/p/akjava-android-project/ for the generation of 3D solids
* Wii Projects by Johnny Chung Lee Wii at http://johnnylee.net/projects/wii/ for the inspiration of headtracking

Tags: head tracking 3d, head tracking, i3d, headtracking, 3d head tracking, head tracking opencv, opencv 3d, 3d front facing camera, javacv sample, tracking.

Recently changed in this version

* Update JavaCV library to support Android 4.0 ICS
* Comment of OpenCV Native Camera not working in ICS added

Screenshots Head Tracking 3D
View bigger - Head Tracking 3D for Android screenshot
View bigger - Head Tracking 3D for Android screenshot
Comments and ratings for Head Tracking 3D
  • (27 stars)

    by Mansour Yaacoubi on 20/05/2014

    OpenCV does not find any camera. And JavaCV is way too slow.

  • (27 stars)

    by Majid Nasirinejad on 30/04/2014

    Not work la on nexus 4

  • (27 stars)

    by Mikael Ohlsson on 02/03/2014

    Unfortunately it does not work on the nexus 5.

  • (27 stars)

    by Tom Wang on 05/02/2014

  • (27 stars)

    by Pranit Wadkar on 05/12/2013

    In the Open CV mode, it says that my phone doesn't have a front facing camera, despite my phone running on JB. But the concept is really nice. I hope they integrage something like this in actual apps or games.

  • (27 stars)

    by Przemysław Horban on 04/12/2013

    Does not support fw. camera on Nexus 7

  • (27 stars)

    by Kirk Jensen on 26/11/2013

    Great start man. Keep it up, I can see this being huge with the video game industry.

More comments