summaryrefslogtreecommitdiffhomepage
path: root/faceAPI
diff options
context:
space:
mode:
Diffstat (limited to 'faceAPI')
-rw-r--r--faceAPI/FaceAPI2FSX.vcproj6
-rw-r--r--faceAPI/main.cpp4
2 files changed, 6 insertions, 4 deletions
diff --git a/faceAPI/FaceAPI2FSX.vcproj b/faceAPI/FaceAPI2FSX.vcproj
index e936c79c..ce6249d9 100644
--- a/faceAPI/FaceAPI2FSX.vcproj
+++ b/faceAPI/FaceAPI2FSX.vcproj
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
- Version="8.00"
+ Version="8,00"
Name="FTNoIR_FaceAPI_EXE"
ProjectGUID="{EF743D32-0980-44D9-BA9E-B9D2456251AC}"
RootNamespace="TestAppConsole"
@@ -124,7 +124,7 @@
/>
<Tool
Name="VCCLCompilerTool"
- AdditionalIncludeDirectories="&quot;C:\Program Files\SeeingMachines\FaceTrackingAPI_NC 3.2\API\include&quot;;..\FTNoIR_Tracker_Base"
+ AdditionalIncludeDirectories="&quot;C:\Program Files (x86)\SeeingMachines\FaceTrackingAPI_NC 3.2\API\include&quot;;..\FTNoIR_Tracker_Base"
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
@@ -146,7 +146,7 @@
AdditionalDependencies="smft32.lib user32.lib"
OutputFile="..\bin\$(ProjectName).exe"
LinkIncremental="1"
- AdditionalLibraryDirectories="&quot;C:\Program Files\SeeingMachines\FaceTrackingAPI_NC 3.2\API\bin&quot;"
+ AdditionalLibraryDirectories="&quot;C:\Program Files (x86)\SeeingMachines\FaceTrackingAPI_NC 3.2\API\bin&quot;"
GenerateDebugInformation="true"
SubSystem="1"
OptimizeReferences="2"
diff --git a/faceAPI/main.cpp b/faceAPI/main.cpp
index 31706f80..48b7300b 100644
--- a/faceAPI/main.cpp
+++ b/faceAPI/main.cpp
@@ -323,9 +323,11 @@ void run()
}
// Create and show a video-display window
- smVideoDisplayHandle video_display_handle = 0;
+ // Set the initial filter-level, from the INI-file
+ smVideoDisplayHandle video_display_handle = 0;
if (pMemData) {
THROW_ON_ERROR(smVideoDisplayCreate(engine_handle,&video_display_handle,(smWindowHandle) pMemData->handle,TRUE));
+ THROW_ON_ERROR(smHTV2SetHeadPoseFilterLevel(engine_handle, pMemData->initial_filter_level));
}
else {
THROW_ON_ERROR(smVideoDisplayCreate(engine_handle,&video_display_handle,0,TRUE));