FaceTrackNoIR: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Created page with ''''FaceTrackNoIR''' is a headtracking program that uses the SeeingMachines FaceAPI. Movements of the head are registered by a simple web cam; no additional hardware (eg. markers)…')
 
m (small update)
Line 1: Line 1:
'''FaceTrackNoIR''' is a headtracking program that uses the SeeingMachines FaceAPI. Movements of the head are registered by a simple web cam; no additional hardware (eg. markers) are required. [[FlightGear]] support is built in, so you can look around in the FlightGear world by rotating your head.
'''FaceTrackNoIR''' is a headtracking program that uses the [http://www.seeingmachines.com/product/faceapi/ SeeingMachines FaceAPI]. Movements of the head are registered by a simple web cam; no additional hardware (eg. markers) are required. [[FlightGear]] support is built in, so you can look around in the FlightGear world by rotating your head.


==Run with FlightGear==
==Run with FlightGear==
Line 5: Line 5:
# Make sure you closed any webcam software that might be running. This is really important, failing to do so will probably stop FaceTrackNoIR from working.
# Make sure you closed any webcam software that might be running. This is really important, failing to do so will probably stop FaceTrackNoIR from working.
# Start FaceTrackNoIR.  
# Start FaceTrackNoIR.  
#* Select "Game Protocol: FlightGear" and click the "Start" button under "Tracker Source".
#* Select "Game Protocol: FlightGear" and click the "Start" button under "Tracker Source". You might have to restart the FaceTrackNoIR once, after clicking "Start".
#* A small window with your webcam's view should show up in the leftbottom corner.
#* A small window with your webcam's view should show up in the leftbottom corner. Make sure your head is well within the view and eyes, nose and cheeck are outlined by a yellow line. When you move/rotate your head, the lines should follow your movements.
# Currently you cannot set FlightGear to run with FaceTrackNoIR through [[FGRun]]. Run FlightGear, with the following (extra) commands, on one line.<pre>--generic=socket,in,25,localhost,5550,udp,headtracker --generic=socket,out,10,localhost,5551,udp,headtracker --prop:browser=/sim/headtracker [[$FG_ROOT]]/Nasal/headtracker.xml</pre>
# Currently you cannot set FlightGear to run with FaceTrackNoIR through [[FGRun]]. Run FlightGear, with the following (extra) commands:<br><tt>--generic=socket,in,25,localhost,5550,udp,headtracker<br>--generic=socket,out,10,localhost,5551,udp,headtracker<br>--prop:browser=/sim/headtracker [[$FG_ROOT]]/Nasal/headtracker.xml</tt>
# While running FlightGear, open the FaceTrackNoIR dialog and edit the sensitivity bars, so that your head movements correspond well with FlightGear's view movements.
# While running FlightGear, open the FaceTrackNoIR dialog and edit the sensitivity bars, so that your head movements correspond well with FlightGear's view movements. Ticking the "invert" boxes might be neccesary if your movements are mirrored.
 
==Troubleshooting==
===I get a "missing ... .dll" error===
[http://www.faceapi.com/Download/register.php Download the faceAPI demo] to install the neccessary .dlls.


==External links==
==External links==

Revision as of 17:51, 27 May 2010

FaceTrackNoIR is a headtracking program that uses the SeeingMachines FaceAPI. Movements of the head are registered by a simple web cam; no additional hardware (eg. markers) are required. FlightGear support is built in, so you can look around in the FlightGear world by rotating your head.

Run with FlightGear

  1. Download and install FaceTrackNoIR, as prescribed in the attached README. You will have to move a couple of files to the FlightGear root.
  2. Make sure you closed any webcam software that might be running. This is really important, failing to do so will probably stop FaceTrackNoIR from working.
  3. Start FaceTrackNoIR.
    • Select "Game Protocol: FlightGear" and click the "Start" button under "Tracker Source". You might have to restart the FaceTrackNoIR once, after clicking "Start".
    • A small window with your webcam's view should show up in the leftbottom corner. Make sure your head is well within the view and eyes, nose and cheeck are outlined by a yellow line. When you move/rotate your head, the lines should follow your movements.
  4. Currently you cannot set FlightGear to run with FaceTrackNoIR through FGRun. Run FlightGear, with the following (extra) commands:
    --generic=socket,in,25,localhost,5550,udp,headtracker
    --generic=socket,out,10,localhost,5551,udp,headtracker
    --prop:browser=/sim/headtracker $FG_ROOT/Nasal/headtracker.xml
  5. While running FlightGear, open the FaceTrackNoIR dialog and edit the sensitivity bars, so that your head movements correspond well with FlightGear's view movements. Ticking the "invert" boxes might be neccesary if your movements are mirrored.

Troubleshooting

I get a "missing ... .dll" error

Download the faceAPI demo to install the neccessary .dlls.

External links