summaryrefslogtreecommitdiffhomepage
path: root/faceAPI
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2011-08-15 11:48:23 +0000
committerWim Vriend <facetracknoir@gmail.com>2011-08-15 11:48:23 +0000
commit1ef199b2369d78558df6c706592ae1def10adfd7 (patch)
treea12aab066c9def5cc248cf6da4d71ddb294e2daa /faceAPI
parente5fbf0ed808cc530bd411251d32159c9f04522d8 (diff)
Some minor changes to the interface. Also moved to new dev.hardware
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@89 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
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));