summaryrefslogtreecommitdiffhomepage
path: root/faceAPI/main.cpp
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/main.cpp
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/main.cpp')
-rw-r--r--faceAPI/main.cpp4
1 files changed, 3 insertions, 1 deletions
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));