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).
Credits:* 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