Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
Page 1 of 2 1 2
#3881385 - 12/21/13 07:26 PM FaceTrackNoIr User thread  
Joined: Mar 2011
Posts: 3,707
Rick_Rawlings Offline
Senior Member
Rick_Rawlings  Offline
Senior Member

Joined: Mar 2011
Posts: 3,707
This thread is an attempt to provide information on getting facetracknoir to work in WOFF. Facetracknoir is a free program that uses a webcam to track head position and translates this into movement of view and even head positioning in the game. So, if you want your avatar to look to the right in the game, you would look to the right in real life, your webcam would catch that and then make your pilot look to the right. Similarly, you can raise and lower your view by lifting your head up and down.

The program is available at http://facetracknoir.sourceforge.net/home/default.htm

Download and install the program in the default path.

For CFS3, you still apparently need the TIRViews.dll file which can be found by going to http://www.naturalpoint.com/trackir/06-support/support-download-software-and-manuals.html and downloading their latest software version. Install the software, go to the folder it installed to and copy the TIRViews.dll file to your desktop. Then uninstall the TrackIR software. (I know, I know)

Now copy that .dll into your C:\Program Files (x86)\Abbequerque Inc\FaceTrackNoIR folder.

You will also want a .ini file for a baseline setup for the view system to use. This file contains settings and curves to give you a place to start with. You can then tweak the results to your satisfaction.

Here's a starter file. Open notepad, copy all of this gobeldygook into a new document, click "Save As", click on "Save as type" and select "All Files". Name your file something like OFF.ini and then save it to the C:\Program Files (x86)\Abbequerque Inc\FaceTrackNoIR\Settings folder.

Text for .ini
Click to reveal..
[Tracking]
Smooth=5
invertYaw=false
invertPitch=true
invertRoll=false
invertX=true
invertY=false
invertZ=false
useEWMA=true
redYaw=60
redPitch=60
redRoll=60
redX=50
redY=50
redZ=50

[GameProtocol]
Selection=4

[FTIR]
useTIRViews=true

[Curves]
Yaw_point1=@Variant(\0\0\0\x1a@\x10\0\0\0\0\0\0@\x14\0\0\0\0\0\0)
Yaw_point2=@Variant(\0\0\0\x1a@O\x80\0\0\0\0\0@4\0\0\0\0\0\0)
Yaw_point3=@Variant(\0\0\0\x1a@Y@\0\0\0\0\0@@\0\0\0\0\0\0)
Yaw_point4=@Variant(\0\0\0\x1a@f@\0\0\0\0\0@I\0\0\0\0\0\0)
Pitch_point1=@Variant(\0\0\0\x1a@\f\0\0\0\0\0\0@\x14\0\0\0\0\0\0)
Pitch_point2=@Variant(\0\0\0\x1a@G\0\0\0\0\0\0@0\0\0\0\0\0\0)
Pitch_point3=@Variant(\0\0\0\x1a@a`\0\0\0\0\0@B\x80\0\0\0\0\0)
Pitch_point4=@Variant(\0\0\0\x1a@f \0\0\0\0\0@I\0\0\0\0\0\0)
Roll_point1=@Variant(\0\0\0\x1a\0\0\0\0\0\0\0\0@\x14\0\0\0\0\0\0)
Roll_point2=@Variant(\0\0\0\x1a@R\xc0\0\0\0\0\0@0\0\0\0\0\0\0)
Roll_point3=@Variant(\0\0\0\x1a@Y@\0\0\0\0\0@A\0\0\0\0\0\0)
Roll_point4=@Variant(\0\0\0\x1a@d\0\0\0\0\0\0@I\0\0\0\0\0\0)
X_point1=@Variant(\0\0\0\x1a\0\0\0\0\0\0\0\0@\x14\0\0\0\0\0\0)
X_point2=@Variant(\0\0\0\x1a@1\0\0\0\0\0\0@1\0\0\0\0\0\0)
X_point3=@Variant(\0\0\0\x1a@@\x80\0\0\0\0\0@@\x80\0\0\0\0\0)
X_point4=@Variant(\0\0\0\x1a@I\0\0\0\0\0\0@I\0\0\0\0\0\0)
Y_point1=@Variant(\0\0\0\x1a\0\0\0\0\0\0\0\0@\x14\0\0\0\0\0\0)
Y_point2=@Variant(\0\0\0\x1a@1\0\0\0\0\0\0@1\0\0\0\0\0\0)
Y_point3=@Variant(\0\0\0\x1a@@\x80\0\0\0\0\0@@\x80\0\0\0\0\0)
Y_point4=@Variant(\0\0\0\x1a@I\0\0\0\0\0\0@I\0\0\0\0\0\0)
Z_point1=@Variant(\0\0\0\x1a\0\0\0\0\0\0\0\0@\x14\0\0\0\0\0\0)
Z_point2=@Variant(\0\0\0\x1a@1\0\0\0\0\0\0@1\0\0\0\0\0\0)
Z_point3=@Variant(\0\0\0\x1a@@\x80\0\0\0\0\0@@\x80\0\0\0\0\0)
Z_point4=@Variant(\0\0\0\x1a@I\0\0\0\0\0\0@I\0\0\0\0\0\0)

[KB_Shortcuts]
Keycode_Center=199
Shift_Center=false
Ctrl_Center=false
Alt_Center=false
Keycode_StartStop=207
Shift_StartStop=false
Ctrl_StartStop=false
Alt_StartStop=false
Keycode_Inhibit=211
Shift_Inhibit=false
Ctrl_Inhibit=false
Alt_Inhibit=false
Inhibit_Pitch=false
Inhibit_Yaw=false
Inhibit_Roll=false
Inhibit_X=false
Inhibit_Y=false
Inhibit_Z=false


Here's a new .ini that works quite a bit better for me...
.ini v2
Click to reveal..

[Tracking]
Smooth=7
invertYaw=false
invertPitch=true
invertRoll=false
invertX=true
invertY=false
invertZ=false
minSmooth=40
powCurve=10
maxSmooth=50

[GameProtocol]
DLL=FTNoIR_Protocol_FT.dll
Selection=2

[KB_Shortcuts]
Keycode_Center=0
Shift_Center=false
Ctrl_Center=false
Alt_Center=false
Keycode_StartStop=49
Shift_StartStop=false
Ctrl_StartStop=false
Alt_StartStop=false
MouseKey_Center=2
Disable_Beep=true
MouseKey_GameZero=0
Keycode_GameZero=199
Shift_GameZero=false
Ctrl_GameZero=false
Alt_GameZero=false
MouseKey_StartStop=0
SetZero=true
SetEngineStop=true
MouseKey_Inhibit=0
Keycode_Inhibit=0
Shift_Inhibit=false
Ctrl_Inhibit=false
Alt_Inhibit=false
Inhibit_Pitch=false
Inhibit_Yaw=false
Inhibit_Roll=false
Inhibit_X=false
Inhibit_Y=false
Inhibit_Z=false
Enable_ReverseAxis=false
RA_Yaw=40
RA_ZPos=-20
RA_ToZPos=50

[PPJoy]
Selection=1

[FSUIPC]
LocationOfDLL=C:/Program Files/Microsoft Games/Flight Simulator 9/Modules/FSUIPC.dll

[TrackerSource]
Selection=2
DLL=FTNoIR_Tracker_SM.dll
2ndDLL=None

[Curves-Yaw]
point-count=3
point-0-x=5.25
point-0-y=0
point-1-x=16.5
point-1-y=78
point-2-x=31
point-2-y=151
point-3-x=50
point-3-y=180

[Curves-PitchUp]
point-count=2
point-0-x=2.75
point-0-y=0
point-1-x=25.5
point-1-y=127

[Curves-PitchDown]
point-count=2
point-0-x=2.75
point-0-y=0
point-1-x=29.75
point-1-y=69

[Curves-Roll]
point-count=2
point-0-x=9.25
point-0-y=0
point-1-x=31.75
point-1-y=79

[Curves-X]
point-count=3
point-0-x=2
point-0-y=2
point-1-x=25
point-1-y=90
point-2-x=50
point-2-y=180

[Curves-Y]
point-count=3
point-0-x=2.75
point-0-y=1
point-1-x=25
point-1-y=90
point-2-x=50
point-2-y=180

[Curves-Z]
point-count=2
point-0-x=25
point-0-y=90
point-1-x=50
point-1-y=180
point-2-x=50
point-2-y=180

[Filter]
DLL=FTNoIR_Filter_EWMA2.dll

[SMTracker]
FilterLevel=1
EnableRoll=true
EnablePitch=true
EnableYaw=true
EnableX=true
EnableY=true
EnableZ=true

[Accela]
Reduction=70
zoom-slowness=35

[Curves-Accela-Scaling-Rotation]
point-count=7
point-0-x=0
point-0-y=0
point-1-x=0.638743455497382
point-1-y=0.266666666666667
point-2-x=1.18324607329843
point-2-y=1
point-3-x=1.60732984293194
point-3-y=2.14666666666667
point-4-x=1.75392670157068
point-4-y=3.08
point-5-x=1.84293193717277
point-5-y=3.98666666666667
point-6-x=1.91623036649215
point-6-y=6

[Curves-Accela-Scaling-Translation]
point-count=5
point-0-x=0
point-0-y=0
point-1-x=0.544502617801047
point-1-y=1.46666666666667
point-2-x=0.659685863874346
point-2-y=2.45333333333333
point-3-x=0.759162303664921
point-3-y=4.10666666666667
point-4-x=0.832460732984293
point-4-y=6

[FT]
UsedInterface=0

[FTIR]
useTIRViews=true
useDummyExe=true

[ArduinoTracker]
PortNumber=3
AutoDetect=true
LogData=true
RollAxis=0
PitchAxis=1
YawAxis=2
XAxis=3
YAxis=4
ZAxis=5
InvertRoll=false
InvertPitch=false
InvertYaw=false
InvertX=false
InvertY=false
InvertZ=false
EnableRoll=false
EnablePitch=false
EnableYaw=false
EnableX=true
EnableY=true
EnableZ=true

[PointTracker]
CameraId=0
CameraF=@Variant(\0\0\0\x87?\x80\0\0)
CameraResX=640
CameraResY=480
CameraFPS=60
CameraPitch=0
PointExtractThreshold=128
PointExtractMinSize=2
PointExtractMaxSize=50
PointModelM01x=@Variant(\0\0\0\x87\0\0\0\0)
PointModelM01y=@Variant(\0\0\0\x87\x42 \0\0)
PointModelM01z=@Variant(\0\0\0\x87\xc1\xf0\0\0)
PointModelM02x=@Variant(\0\0\0\x87\0\0\0\0)
PointModelM02y=@Variant(\0\0\0\x87\xc2\x8c\0\0)
PointModelM02z=@Variant(\0\0\0\x87\xc2\xa0\0\0)
tMHx=@Variant(\0\0\0\x87\0\0\0\0)
tMHy=@Variant(\0\0\0\x87\0\0\0\0)
tMHz=@Variant(\0\0\0\x87\0\0\0\0)
DynamicPoseResolution=true
VideoWidget=true
SleepTime=10
ResetTime=1000
EnableRoll=false
EnablePitch=false
EnableYaw=false
EnableX=true
EnableY=true
EnableZ=true

[PointTrackerDialog]
ActiveModelPanel=2
CustomM01x=0
CustomM01y=40
CustomM01z=-30
CustomM02x=0
CustomM02y=-70
CustomM02z=-80
ClipTopHeight=40
ClipTopLength=30
ClipBottomHeight=70
ClipBottomLength=80
CapHalfWidth=40
CapHeight=60
CapLength=100

[VJoy]
Selection=1



Yet another .ini with a little "jog" in it to help with the stability of slight side-to-side glances
Click to reveal..

[Tracking]
Smooth=7
invertYaw=false
invertPitch=true
invertRoll=false
invertX=true
invertY=false
invertZ=false
minSmooth=40
powCurve=12
maxSmooth=50

[GameProtocol]
DLL=FTNoIR_Protocol_FT.dll
Selection=2

[KB_Shortcuts]
Keycode_Center=0
Shift_Center=false
Ctrl_Center=false
Alt_Center=false
Keycode_StartStop=49
Shift_StartStop=false
Ctrl_StartStop=false
Alt_StartStop=false
MouseKey_Center=2
Disable_Beep=true
MouseKey_GameZero=0
Keycode_GameZero=199
Shift_GameZero=false
Ctrl_GameZero=false
Alt_GameZero=false
MouseKey_StartStop=0
SetZero=true
SetEngineStop=true
MouseKey_Inhibit=0
Keycode_Inhibit=0
Shift_Inhibit=false
Ctrl_Inhibit=false
Alt_Inhibit=false
Inhibit_Pitch=false
Inhibit_Yaw=false
Inhibit_Roll=false
Inhibit_X=false
Inhibit_Y=false
Inhibit_Z=false
Enable_ReverseAxis=false
RA_Yaw=40
RA_ZPos=-20
RA_ToZPos=50

[PPJoy]
Selection=1

[FSUIPC]
LocationOfDLL=C:/Program Files/Microsoft Games/Flight Simulator 9/Modules/FSUIPC.dll

[TrackerSource]
Selection=2
DLL=FTNoIR_Tracker_SM.dll
2ndDLL=None

[Curves-Yaw]
point-count=4
point-0-x=3.5
point-0-y=0
point-1-x=9.75
point-1-y=36
point-2-x=21.75
point-2-y=63
point-3-x=31
point-3-y=151

[Curves-PitchUp]
point-count=2
point-0-x=2.75
point-0-y=0
point-1-x=25.25
point-1-y=107

[Curves-PitchDown]
point-count=2
point-0-x=2
point-0-y=0
point-1-x=29.75
point-1-y=69

[Curves-Roll]
point-count=2
point-0-x=5
point-0-y=0
point-1-x=31.75
point-1-y=79

[Curves-X]
point-count=3
point-0-x=2
point-0-y=2
point-1-x=25
point-1-y=90
point-2-x=50
point-2-y=180

[Curves-Y]
point-count=3
point-0-x=2.75
point-0-y=1
point-1-x=25
point-1-y=90
point-2-x=50
point-2-y=180

[Curves-Z]
point-count=2
point-0-x=25
point-0-y=90
point-1-x=50
point-1-y=180
point-2-x=50
point-2-y=180

[Filter]
DLL=FTNoIR_Filter_EWMA2.dll

[SMTracker]
FilterLevel=1
EnableRoll=true
EnablePitch=true
EnableYaw=true
EnableX=true
EnableY=true
EnableZ=true

[Accela]
Reduction=70
zoom-slowness=35

[Curves-Accela-Scaling-Rotation]
point-count=7
point-0-x=0
point-0-y=0
point-1-x=0.638743455497382
point-1-y=0.266666666666667
point-2-x=1.18324607329843
point-2-y=1
point-3-x=1.60732984293194
point-3-y=2.14666666666667
point-4-x=1.75392670157068
point-4-y=3.08
point-5-x=1.84293193717277
point-5-y=3.98666666666667
point-6-x=1.91623036649215
point-6-y=6

[Curves-Accela-Scaling-Translation]
point-count=5
point-0-x=0
point-0-y=0
point-1-x=0.544502617801047
point-1-y=1.46666666666667
point-2-x=0.659685863874346
point-2-y=2.45333333333333
point-3-x=0.759162303664921
point-3-y=4.10666666666667
point-4-x=0.832460732984293
point-4-y=6

[FT]
UsedInterface=0

[FTIR]
useTIRViews=true
useDummyExe=true

[ArduinoTracker]
PortNumber=3
AutoDetect=true
LogData=true
RollAxis=0
PitchAxis=1
YawAxis=2
XAxis=3
YAxis=4
ZAxis=5
InvertRoll=false
InvertPitch=false
InvertYaw=false
InvertX=false
InvertY=false
InvertZ=false
EnableRoll=false
EnablePitch=false
EnableYaw=false
EnableX=true
EnableY=true
EnableZ=true

[PointTracker]
CameraId=0
CameraF=@Variant(\0\0\0\x87?\x80\0\0)
CameraResX=640
CameraResY=480
CameraFPS=60
CameraPitch=0
PointExtractThreshold=128
PointExtractMinSize=2
PointExtractMaxSize=50
PointModelM01x=@Variant(\0\0\0\x87\0\0\0\0)
PointModelM01y=@Variant(\0\0\0\x87\x42 \0\0)
PointModelM01z=@Variant(\0\0\0\x87\xc1\xf0\0\0)
PointModelM02x=@Variant(\0\0\0\x87\0\0\0\0)
PointModelM02y=@Variant(\0\0\0\x87\xc2\x8c\0\0)
PointModelM02z=@Variant(\0\0\0\x87\xc2\xa0\0\0)
tMHx=@Variant(\0\0\0\x87\0\0\0\0)
tMHy=@Variant(\0\0\0\x87\0\0\0\0)
tMHz=@Variant(\0\0\0\x87\0\0\0\0)
DynamicPoseResolution=true
VideoWidget=true
SleepTime=10
ResetTime=1000
EnableRoll=false
EnablePitch=false
EnableYaw=false
EnableX=true
EnableY=true
EnableZ=true

[PointTrackerDialog]
ActiveModelPanel=2
CustomM01x=0
CustomM01y=40
CustomM01z=-30
CustomM02x=0
CustomM02y=-70
CustomM02z=-80
ClipTopHeight=40
ClipTopLength=30
ClipBottomHeight=70
ClipBottomLength=80
CapHalfWidth=40
CapHeight=60
CapLength=100

[VJoy]
Selection=1



ini the 4th:

Click to reveal..
[Tracking]
Smooth=9
invertYaw=false
invertPitch=true
invertRoll=false
invertX=true
invertY=false
invertZ=false
minSmooth=40
powCurve=12
maxSmooth=50

[GameProtocol]
DLL=FTNoIR_Protocol_FT.dll
Selection=2

[KB_Shortcuts]
Keycode_Center=0
Shift_Center=false
Ctrl_Center=false
Alt_Center=false
Keycode_StartStop=65
Shift_StartStop=false
Ctrl_StartStop=false
Alt_StartStop=false
MouseKey_Center=2
Disable_Beep=true
MouseKey_GameZero=0
Keycode_GameZero=199
Shift_GameZero=false
Ctrl_GameZero=false
Alt_GameZero=false
MouseKey_StartStop=0
SetZero=true
SetEngineStop=true
MouseKey_Inhibit=0
Keycode_Inhibit=0
Shift_Inhibit=false
Ctrl_Inhibit=false
Alt_Inhibit=false
Inhibit_Pitch=false
Inhibit_Yaw=false
Inhibit_Roll=false
Inhibit_X=false
Inhibit_Y=false
Inhibit_Z=false
Enable_ReverseAxis=false
RA_Yaw=40
RA_ZPos=-20
RA_ToZPos=50

[PPJoy]
Selection=1

[FSUIPC]
LocationOfDLL=C:/Program Files/Microsoft Games/Flight Simulator 9/Modules/FSUIPC.dll

[TrackerSource]
Selection=2
DLL=FTNoIR_Tracker_SM.dll
2ndDLL=None

[Curves-Yaw]
point-count=6
point-0-x=6.75
point-0-y=0
point-1-x=11.25
point-1-y=41
point-2-x=21.75
point-2-y=63
point-3-x=27
point-3-y=128
point-4-x=31.5
point-4-y=142
point-5-x=36.75
point-5-y=147

[Curves-PitchUp]
point-count=2
point-0-x=2.75
point-0-y=0
point-1-x=35.75
point-1-y=92

[Curves-PitchDown]
point-count=3
point-0-x=2
point-0-y=0
point-1-x=20.25
point-1-y=60.5
point-2-x=29.75
point-2-y=69

[Curves-Roll]
point-count=2
point-0-x=5
point-0-y=0
point-1-x=31.75
point-1-y=79

[Curves-X]
point-count=3
point-0-x=2
point-0-y=2
point-1-x=25
point-1-y=90
point-2-x=50
point-2-y=180

[Curves-Y]
point-count=3
point-0-x=2.75
point-0-y=1
point-1-x=25
point-1-y=90
point-2-x=50
point-2-y=180

[Curves-Z]
point-count=2
point-0-x=25
point-0-y=90
point-1-x=50
point-1-y=180
point-2-x=50
point-2-y=180

[Filter]
DLL=FTNoIR_Filter_EWMA2.dll

[SMTracker]
FilterLevel=1
EnableRoll=true
EnablePitch=true
EnableYaw=true
EnableX=true
EnableY=true
EnableZ=true

[Accela]
Reduction=70
zoom-slowness=35

[Curves-Accela-Scaling-Rotation]
point-count=7
point-0-x=0
point-0-y=0
point-1-x=0.638743455497382
point-1-y=0.266666666666667
point-2-x=1.18324607329843
point-2-y=1
point-3-x=1.60732984293194
point-3-y=2.14666666666667
point-4-x=1.75392670157068
point-4-y=3.08
point-5-x=1.84293193717277
point-5-y=3.98666666666667
point-6-x=1.91623036649215
point-6-y=6

[Curves-Accela-Scaling-Translation]
point-count=5
point-0-x=0
point-0-y=0
point-1-x=0.544502617801047
point-1-y=1.46666666666667
point-2-x=0.659685863874346
point-2-y=2.45333333333333
point-3-x=0.759162303664921
point-3-y=4.10666666666667
point-4-x=0.832460732984293
point-4-y=6

[FT]
UsedInterface=0

[FTIR]
useTIRViews=true
useDummyExe=true

[ArduinoTracker]
PortNumber=3
AutoDetect=true
LogData=true
RollAxis=0
PitchAxis=1
YawAxis=2
XAxis=3
YAxis=4
ZAxis=5
InvertRoll=false
InvertPitch=false
InvertYaw=false
InvertX=false
InvertY=false
InvertZ=false
EnableRoll=false
EnablePitch=false
EnableYaw=false
EnableX=true
EnableY=true
EnableZ=true

[PointTracker]
CameraId=0
CameraF=@Variant(\0\0\0\x87?\x80\0\0)
CameraResX=640
CameraResY=480
CameraFPS=60
CameraPitch=0
PointExtractThreshold=128
PointExtractMinSize=2
PointExtractMaxSize=50
PointModelM01x=@Variant(\0\0\0\x87\0\0\0\0)
PointModelM01y=@Variant(\0\0\0\x87\x42 \0\0)
PointModelM01z=@Variant(\0\0\0\x87\xc1\xf0\0\0)
PointModelM02x=@Variant(\0\0\0\x87\0\0\0\0)
PointModelM02y=@Variant(\0\0\0\x87\xc2\x8c\0\0)
PointModelM02z=@Variant(\0\0\0\x87\xc2\xa0\0\0)
tMHx=@Variant(\0\0\0\x87\0\0\0\0)
tMHy=@Variant(\0\0\0\x87\0\0\0\0)
tMHz=@Variant(\0\0\0\x87\0\0\0\0)
DynamicPoseResolution=true
VideoWidget=true
SleepTime=10
ResetTime=1000
EnableRoll=false
EnablePitch=false
EnableYaw=false
EnableX=true
EnableY=true
EnableZ=true

[PointTrackerDialog]
ActiveModelPanel=2
CustomM01x=0
CustomM01y=40
CustomM01z=-30
CustomM02x=0
CustomM02y=-70
CustomM02z=-80
ClipTopHeight=40
ClipTopLength=30
ClipBottomHeight=70
ClipBottomLength=80
CapHalfWidth=40
CapHeight=60
CapLength=100

[VJoy]
Selection=1


Now, set up your webcam somewhere where it is fairly square to your face (the facetracknoir site recommends under your monitor) and start the program.

You will see a screen that looks like this:


Under the "Profile" tab, click "load" and select the OFF.ini we selected earlier. Clicking on the "Settings" tab under "Game Protocol", make sure the "Use TIRViews" option is checked. Finally, go into the "Shortkeys" section and assign keys for "Center", "Game Zero" and "Start/stop". Make sure you select keys that do not conflict with current WOFF key commands.

Now go back to the main screen in the "Go!" window and click "Start" You should see your camera initialize and after a few seconds your face will appear. A few seconds more and a yellow "U" shape will appear and the program will begin to track your movements.

Try the tracking in game. With the default profile, I find the up and down movement and zoom in and out to be pretty good, but looking left to right is a bit buggy. Under the "Curves" Tab, you can tweak the various responses along the different axes.

Tips:

1. Having a strong light source shining behind the monitor onto your face is said to help.
2. Also, I read that if you wear glasses, taking them off while the tracker starts and then putting them back on after it has found your face orientation may help.
3. It seems that you can alt-tab out and make adjustments on-the-fly, which is a nice touch.
4. A light source directly behind the monitor is better than one that is off to either side.
5. I have silver metal framed glasses and while tip #2 above does help, the program does sometimes pick up my frames instead of my face and goes wonky. Playing with contacts seems to help this.
6. The camera really does make a difference. My first web cam was getting 15FPS and was pretty jerky, now with the PS3 eyecam I *cough* borrowed from my in-laws, I am getting 50FPS and it's much better.
7. Make sure you bind the "Center" key and use it if the tracking starts to get uneven. I even read that at the beginning of the mission, it is good to look square on to the screen, click "Center", click "Game Zero" shortcut key and then "Center" again.
8. When you save new profiles, remember to rename them to keep your starting point.
9. I also seem to grimace a lot during a fight, and the web cam will pick this up and sense it as a change of view(!) So, apparently it helps to be stone-faced! You can see this yourself by screwing up your face on the FaceTrackNoIR screen!

To help with this thread, please post additional useful information such as tips, curves and .ini files. As questions, provide answers and let's see if we can work together to help more people experience this useful tool. I will update this thread as new information comes to light!

Oh, and please donate to the makers of FaceTrackNoIr to help keep this valuable product alive!

RR

Link to 3rd .ini demo:
http://www.youtube.com/watch?v=NUT41bXgOZo

Thanks to Hellshade for getting me up to speed on the whole Shadowplay thing!

Last edited by Rick_Rawlings; 02/23/14 01:48 AM.

The older I get, the more I realize I don't need to be Han, Luke or Leia. I'm just happy to be rebel scum...
#3881394 - 12/21/13 07:42 PM Re: FaceTrackNoIr User thread [Re: Rick_Rawlings]  
Joined: Jun 2012
Posts: 176
chrispdm1 Offline
Member
chrispdm1  Offline
Member

Joined: Jun 2012
Posts: 176
NE Saskatchewan
Thats a good little walkthrough. I messed around with Facetracknoir a coupe weeks ago, but did not try it with WOFF. I want to try it out a bit though.

#3885080 - 12/28/13 01:57 AM Re: FaceTrackNoIr User thread [Re: Rick_Rawlings]  
Joined: Dec 2013
Posts: 144
MeneMene Offline
Member
MeneMene  Offline
Member

Joined: Dec 2013
Posts: 144
Have you done any more tweaking with the above curves and ini's? I've tried setting this up for the first time, using your ini posted above. First problem is that I can't keep my head still enough, the view is always wobbling around. That's the biggest problem- it's very difficult to read gauges or look at anything far away when the view is constantly shaking. Turning the smoothing slider all the way up seems to help a little, but it still is a bit unstable at times and the rest of the time its too sluggish. The curves seem a little weird as well- even though your "pitch down" curve is very steep, I have to put my head uncomfortably far down to look inside. Any suggestions?

thanks

EDIT: I am using the same camera as well, PS eye

Last edited by andqui; 12/28/13 01:57 AM.
#3885948 - 12/30/13 01:28 AM Re: FaceTrackNoIr User thread [Re: MeneMene]  
Joined: Mar 2011
Posts: 3,707
Rick_Rawlings Offline
Senior Member
Rick_Rawlings  Offline
Senior Member

Joined: Mar 2011
Posts: 3,707
Originally Posted By: andqui
Have you done any more tweaking with the above curves and ini's? I've tried setting this up for the first time, using your ini posted above. First problem is that I can't keep my head still enough, the view is always wobbling around. That's the biggest problem- it's very difficult to read gauges or look at anything far away when the view is constantly shaking. Turning the smoothing slider all the way up seems to help a little, but it still is a bit unstable at times and the rest of the time its too sluggish. The curves seem a little weird as well- even though your "pitch down" curve is very steep, I have to put my head uncomfortably far down to look inside. Any suggestions?

thanks

EDIT: I am using the same camera as well, PS eye


Updated with a new .ini and some more tips. Tell us how you do. My problem is looking about 45-90 degrees to either side and holding views in that area steady. Maybe someone else can post tips or .ini s as well!


The older I get, the more I realize I don't need to be Han, Luke or Leia. I'm just happy to be rebel scum...
#3886683 - 12/31/13 06:50 AM Re: FaceTrackNoIr User thread [Re: Rick_Rawlings]  
Joined: Jun 2012
Posts: 176
chrispdm1 Offline
Member
chrispdm1  Offline
Member

Joined: Jun 2012
Posts: 176
NE Saskatchewan
Mess with the curves some more. I know exactly what you are talking about, I put a little plateau at both 45deg and 100deg for that exact reason. I think facetracknoir has problems when you start turning your face as it can lose track or the farther eye or something like that. I have a problem that it will go farther turning my head left than it does right. I wish I could adjust that somehow...

#3886702 - 12/31/13 09:09 AM Re: FaceTrackNoIr User thread [Re: Rick_Rawlings]  
Joined: Mar 2011
Posts: 3,707
Rick_Rawlings Offline
Senior Member
Rick_Rawlings  Offline
Senior Member

Joined: Mar 2011
Posts: 3,707
Thanks,I'll give that a try. Would you care to post your settings? I can edit them in to the original post? I think in my case, my metal glasses frames and offset light give me a similar problem...it is much easier to look left than right!


The older I get, the more I realize I don't need to be Han, Luke or Leia. I'm just happy to be rebel scum...
#3897847 - 01/19/14 01:56 AM Re: FaceTrackNoIr User thread [Re: Rick_Rawlings]  
Joined: Mar 2011
Posts: 3,707
Rick_Rawlings Offline
Senior Member
Rick_Rawlings  Offline
Senior Member

Joined: Mar 2011
Posts: 3,707
Edited with another .ini, another pro tip clapping and a video that shows the results using the third .ini above.


The older I get, the more I realize I don't need to be Han, Luke or Leia. I'm just happy to be rebel scum...
#3897850 - 01/19/14 02:13 AM Re: FaceTrackNoIr User thread [Re: Rick_Rawlings]  
Joined: Jul 2013
Posts: 246
Glubber Offline
Member
Glubber  Offline
Member

Joined: Jul 2013
Posts: 246
Nice save in the video. Thought you were a goner for sure, but leveled out just in time to bounce off your wheels, and then again just barely avoiding a fence.

Fun!

#3897853 - 01/19/14 02:20 AM Re: FaceTrackNoIr User thread [Re: Glubber]  
Joined: Mar 2011
Posts: 3,707
Rick_Rawlings Offline
Senior Member
Rick_Rawlings  Offline
Senior Member

Joined: Mar 2011
Posts: 3,707
Originally Posted By: Glubber
Nice save in the video. Thought you were a goner for sure, but leveled out just in time to bounce off your wheels, and then again just barely avoiding a fence.

Fun!


Yeah, it's not my best flying demo! wounded


The older I get, the more I realize I don't need to be Han, Luke or Leia. I'm just happy to be rebel scum...
#3914706 - 02/21/14 05:17 AM Re: FaceTrackNoIr User thread [Re: Rick_Rawlings]  
Joined: Dec 2013
Posts: 144
MeneMene Offline
Member
MeneMene  Offline
Member

Joined: Dec 2013
Posts: 144
Does anyone have any more refinements for a profile? With my current setup, the view is extremely jittery looking down and looking in the rear quarters. I'm using the 3rd ini currently.

#3914970 - 02/21/14 07:18 PM Re: FaceTrackNoIr User thread [Re: MeneMene]  
Joined: Mar 2011
Posts: 3,707
Rick_Rawlings Offline
Senior Member
Rick_Rawlings  Offline
Senior Member

Joined: Mar 2011
Posts: 3,707
Originally Posted By: andqui
Does anyone have any more refinements for a profile? With my current setup, the view is extremely jittery looking down and looking in the rear quarters. I'm using the 3rd ini currently.

I'm still using #3 myself. I do find I have to reset it a bit depending on the ambient lighting in the room. You can try ajusting the smoothing slider in the screenshot above and you can also go under the curves tab above. Notice where the "flat spots" are for side to side glances and add one on the curve for looking down and another to either side for behind views. You can even alt-tab out and do this while flying. Save it under a different name and tweak to your heart's contentment. If it works well, PM me the profile and I will edit it into the initial post.

Let me know if that helps!

RR


The older I get, the more I realize I don't need to be Han, Luke or Leia. I'm just happy to be rebel scum...
#3915486 - 02/23/14 01:49 AM Re: FaceTrackNoIr User thread [Re: MeneMene]  
Joined: Mar 2011
Posts: 3,707
Rick_Rawlings Offline
Senior Member
Rick_Rawlings  Offline
Senior Member

Joined: Mar 2011
Posts: 3,707
Originally Posted By: andqui
Does anyone have any more refinements for a profile? With my current setup, the view is extremely jittery looking down and looking in the rear quarters. I'm using the 3rd ini currently.


Andqui, I made a new one, the 4th in the original post, try it and see if it helps with your problems!

RR


The older I get, the more I realize I don't need to be Han, Luke or Leia. I'm just happy to be rebel scum...
#3935058 - 04/05/14 10:31 PM Re: FaceTrackNoIr User thread [Re: Rick_Rawlings]  
Joined: Dec 2013
Posts: 144
MeneMene Offline
Member
MeneMene  Offline
Member

Joined: Dec 2013
Posts: 144
Just a heads up, the new ACELA (sp?) filter in facetrackNoIr now works perfectly for me, I don't need to use steps in the curve or anything like that.

#3935079 - 04/05/14 11:33 PM Re: FaceTrackNoIr User thread [Re: Rick_Rawlings]  
Joined: Mar 2011
Posts: 3,707
Rick_Rawlings Offline
Senior Member
Rick_Rawlings  Offline
Senior Member

Joined: Mar 2011
Posts: 3,707
Thanks for the heads up, I haven't seen any updates, are you just using the standard Mk. 2 Accela filter included in v. 1.7?

Thanks!


The older I get, the more I realize I don't need to be Han, Luke or Leia. I'm just happy to be rebel scum...
#3935097 - 04/06/14 12:42 AM Re: FaceTrackNoIr User thread [Re: Rick_Rawlings]  
Joined: Dec 2013
Posts: 144
MeneMene Offline
Member
MeneMene  Offline
Member

Joined: Dec 2013
Posts: 144
Originally Posted By: Rick_Rawlings
Thanks for the heads up, I haven't seen any updates, are you just using the standard Mk. 2 Accela filter included in v. 1.7?

Thanks!



Yep. I had pretty much given up on this, until I tried that filter, and now, with two soft desk lights on either side of the monitor, it works absolutely perfectly, no messing with curves needed at all unless I want to make a few slight changes to how far I need to turn my head to check behind me, etc. I'm now using it successfully with WOFF, Il2, DCS.

#4029772 - 10/31/14 09:43 AM Re: FaceTrackNoIr User thread [Re: Rick_Rawlings]  
Joined: Dec 2013
Posts: 233
LowDrag Offline
Member
LowDrag  Offline
Member

Joined: Dec 2013
Posts: 233
Help! I went through this walkthrough, Rick, thank you, as my TrackIR is down. Anyhow I am not able to get the system running using FaceTrackNoIR. When clicking "Start" there is no image of the camera appearing, when using FaceAPI as Tracker source (that´s the right one, I suppose, when using pure headtracking, right?). I also tried point track as tracker, when doing so my face appears but as I am using no tracking device the program finds too many extraction points, so this is useless.

Any idea how to make this work? Am sick of being unable to fly in the WOFF skies and bypassing Ricks challenges...

#4029989 - 10/31/14 05:24 PM Re: FaceTrackNoIr User thread [Re: Rick_Rawlings]  
Joined: Mar 2011
Posts: 3,707
Rick_Rawlings Offline
Senior Member
Rick_Rawlings  Offline
Senior Member

Joined: Mar 2011
Posts: 3,707
Okay, Kaische, let's see if we can help. What camera are you using? I, um, "liberated" a PS3 eye camera from my in-laws, but the FaceTrackNoIR site lists many that work. Did you get all the files listed in the first post and put them in the indicated places?

Here's what my screen looks like:


And here's my .ini file:
Click to reveal..

[Tracking]
Smooth=10
invertYaw=false
invertPitch=true
invertRoll=false
invertX=true
invertY=false
invertZ=false
minSmooth=40
powCurve=12
maxSmooth=50

[GameProtocol]
DLL=FTNoIR_Protocol_FT.dll
Selection=2

[KB_Shortcuts]
Keycode_Center=0
Shift_Center=false
Ctrl_Center=false
Alt_Center=false
Keycode_StartStop=33
Shift_StartStop=false
Ctrl_StartStop=false
Alt_StartStop=false
MouseKey_Center=2
Disable_Beep=true
MouseKey_GameZero=0
Keycode_GameZero=199
Shift_GameZero=false
Ctrl_GameZero=false
Alt_GameZero=false
MouseKey_StartStop=0
SetZero=true
SetEngineStop=true
MouseKey_Inhibit=0
Keycode_Inhibit=0
Shift_Inhibit=false
Ctrl_Inhibit=false
Alt_Inhibit=false
Inhibit_Pitch=false
Inhibit_Yaw=false
Inhibit_Roll=false
Inhibit_X=false
Inhibit_Y=false
Inhibit_Z=false
Enable_ReverseAxis=false
RA_Yaw=40
RA_ZPos=-20
RA_ToZPos=50

[PPJoy]
Selection=1

[FSUIPC]
LocationOfDLL=C:/Program Files/Microsoft Games/Flight Simulator 9/Modules/FSUIPC.dll

[TrackerSource]
Selection=2
DLL=FTNoIR_Tracker_SM.dll
2ndDLL=None

[Curves-Yaw]
point-count=5
point-0-x=7
point-0-y=0
point-1-x=11
point-1-y=29
point-2-x=15.25
point-2-y=61
point-3-x=21
point-3-y=95
point-4-x=26.75
point-4-y=117

[Curves-PitchUp]
point-count=2
point-0-x=2.75
point-0-y=0
point-1-x=25.25
point-1-y=76

[Curves-PitchDown]
point-count=2
point-0-x=2.5
point-0-y=0.5
point-1-x=14.75
point-1-y=64

[Curves-Roll]
point-count=2
point-0-x=5
point-0-y=0
point-1-x=31.75
point-1-y=79

[Curves-X]
point-count=3
point-0-x=2
point-0-y=2
point-1-x=15.25
point-1-y=83
point-2-x=50
point-2-y=180

[Curves-Y]
point-count=3
point-0-x=4.5
point-0-y=24
point-1-x=15.25
point-1-y=94
point-2-x=50
point-2-y=180

[Curves-Z]
point-count=2
point-0-x=25
point-0-y=90
point-1-x=50
point-1-y=180
point-2-x=50
point-2-y=180

[Filter]
DLL=FTNoIR_Filter_Accela.dll

[SMTracker]
FilterLevel=1
EnableRoll=true
EnablePitch=true
EnableYaw=true
EnableX=true
EnableY=true
EnableZ=true

[Accela]
Reduction=70
zoom-slowness=35

[Curves-Accela-Scaling-Rotation]
point-count=7
point-0-x=0
point-0-y=0
point-1-x=0.638743455497382
point-1-y=0.266666666666667
point-2-x=1.18324607329843
point-2-y=1
point-3-x=1.60732984293194
point-3-y=2.14666666666667
point-4-x=1.75392670157068
point-4-y=3.08
point-5-x=1.84293193717277
point-5-y=3.98666666666667
point-6-x=1.91623036649215
point-6-y=6

[Curves-Accela-Scaling-Translation]
point-count=5
point-0-x=0
point-0-y=0
point-1-x=0.544502617801047
point-1-y=1.46666666666667
point-2-x=0.659685863874346
point-2-y=2.45333333333333
point-3-x=0.759162303664921
point-3-y=4.10666666666667
point-4-x=0.832460732984293
point-4-y=6

[FT]
UsedInterface=0

[FTIR]
useTIRViews=true
useDummyExe=true

[ArduinoTracker]
PortNumber=3
AutoDetect=true
LogData=true
RollAxis=0
PitchAxis=1
YawAxis=2
XAxis=3
YAxis=4
ZAxis=5
InvertRoll=false
InvertPitch=false
InvertYaw=false
InvertX=false
InvertY=false
InvertZ=false
EnableRoll=false
EnablePitch=false
EnableYaw=false
EnableX=true
EnableY=true
EnableZ=true

[PointTracker]
CameraId=0
CameraF=@Variant(\0\0\0\x87?\x80\0\0)
CameraResX=640
CameraResY=480
CameraFPS=60
CameraPitch=0
PointExtractThreshold=128
PointExtractMinSize=2
PointExtractMaxSize=50
PointModelM01x=@Variant(\0\0\0\x87\0\0\0\0)
PointModelM01y=@Variant(\0\0\0\x87\x42 \0\0)
PointModelM01z=@Variant(\0\0\0\x87\xc1\xf0\0\0)
PointModelM02x=@Variant(\0\0\0\x87\0\0\0\0)
PointModelM02y=@Variant(\0\0\0\x87\xc2\x8c\0\0)
PointModelM02z=@Variant(\0\0\0\x87\xc2\xa0\0\0)
tMHx=@Variant(\0\0\0\x87\0\0\0\0)
tMHy=@Variant(\0\0\0\x87\0\0\0\0)
tMHz=@Variant(\0\0\0\x87\0\0\0\0)
DynamicPoseResolution=true
VideoWidget=true
SleepTime=10
ResetTime=1000
EnableRoll=false
EnablePitch=false
EnableYaw=false
EnableX=true
EnableY=true
EnableZ=true

[PointTrackerDialog]
ActiveModelPanel=2
CustomM01x=0
CustomM01y=40
CustomM01z=-30
CustomM02x=0
CustomM02y=-70
CustomM02z=-80
ClipTopHeight=40
ClipTopLength=30
ClipBottomHeight=70
ClipBottomLength=80
CapHalfWidth=40
CapHeight=60
CapLength=100

[VJoy]
Selection=1



The older I get, the more I realize I don't need to be Han, Luke or Leia. I'm just happy to be rebel scum...
#4030909 - 11/03/14 04:40 AM Re: FaceTrackNoIr User thread [Re: Rick_Rawlings]  
Joined: Dec 2013
Posts: 233
LowDrag Offline
Member
LowDrag  Offline
Member

Joined: Dec 2013
Posts: 233
Rick, thanks for your reply. I have my settings the way you do. Tried to use your newest ini file. All files inserted as far as I can tell. I am using my second camera now, its one from Logitech , HD Webcam C270. When using Point Tracker as Tracking Source a camera image appeares (but this does not help, as I do not have an appropriate tracking devise) but this is not the case when faceAPI V3.26 is selected and it simply does not start tracking... I don´t know what is wrong here...

#4031122 - 11/03/14 04:01 PM Re: FaceTrackNoIr User thread [Re: Rick_Rawlings]  
Joined: Mar 2011
Posts: 3,707
Rick_Rawlings Offline
Senior Member
Rick_Rawlings  Offline
Senior Member

Joined: Mar 2011
Posts: 3,707
Hey Kaische,

I looked at the website for FaceTrackNoIR and while they do not specifically mention that camera, they do have a few that seem to bracket your model and work, so we'll proceed with the assumption (I know) that the model works. Let's check a couple of other things. Have you verified that the camera works on its own? Like have you take some video or a picture with it? Did you completely unisntall Track IR from your computer? My first guess is that there may be some legacy software issues that are interfering?

Here's a thread you can check (maybe you already have):

http://sourceforge.net/p/facetracknoir/discussion/1150910/

I'll poke around it too and see what I can find. Give me some more information on what you did when Track IR stopped working and we'll see if we can't find a clue!


The older I get, the more I realize I don't need to be Han, Luke or Leia. I'm just happy to be rebel scum...
#4031470 - 11/04/14 08:55 AM Re: FaceTrackNoIr User thread [Re: Rick_Rawlings]  
Joined: Dec 2013
Posts: 233
LowDrag Offline
Member
LowDrag  Offline
Member

Joined: Dec 2013
Posts: 233
Rick, that did it! Was looking into my system and indeed found some residuals of my Track IR install, some Naturalpoint USB drivers. After removing all of them and doing another reinstall of FaceTrackNoIR it is working now!

Thank you very much for your help!

Have to fiddle now with the settings, presently, though very much impressed what is actually possible without having to wear any kind of reflector, I am missing some of the precision of TrackIR, but this was aswell only possible after a lot of finetuning to be honest...

The camera reports a frame rate of around 20 in the video image in the FTN interface, do you have an idea how to increase this value (without buying a third webcam...)? Would increase the performance in game for sure.


Edit:

Making good progress, feels already much more familiar and natural! Great program! And it elaminates the risk of rushing to the doorbell having the track ir cap on the had and looking a bit silly...

Last edited by Kaische; 11/04/14 10:19 AM.
Page 1 of 2 1 2

Moderated by  Polovski 

Quick Search
Recent Articles
Support SimHQ

If you shop on Amazon use this Amazon link to support SimHQ
.
Social


Recent Topics
Carnival Cruise Ship Fire....... Again
by F4UDash4. 03/26/24 05:58 PM
Baltimore Bridge Collapse
by F4UDash4. 03/26/24 05:51 PM
The Oldest WWII Veterans
by F4UDash4. 03/24/24 09:21 PM
They got fired after this.
by Wigean. 03/20/24 08:19 PM
Grown ups joke time
by NoFlyBoy. 03/18/24 10:34 PM
Anyone Heard from Nimits?
by F4UDash4. 03/18/24 10:01 PM
RIP Gemini/Apollo astronaut Tom Stafford
by semmern. 03/18/24 02:14 PM
10 years after 3/8/2014
by NoFlyBoy. 03/17/24 10:25 AM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0