Browse Source

added confidence-threshhold

Alexander Hendrich 11 years ago
parent
commit
d8046be2f3
1 changed files with 4 additions and 1 deletions
  1. 4 1
      bbiwarg/DataSource/IisuDataSource.cs

+ 4 - 1
bbiwarg/DataSource/IisuDataSource.cs

@@ -54,7 +54,10 @@ namespace bbiwarg.DataSource
             // parameters
             if (moviePath.Length != 0)
                 device.RegisterParameterHandle<int>("SOURCE.MOVIE.PlayMode").Value = 0; // playMode = once
-            frameRate = device.RegisterParameterHandle<float>("SOURCE.FrameRate"); 
+            frameRate = device.RegisterParameterHandle<float>("SOURCE.FrameRate");
+
+            // confidence-threshhold
+            device.RegisterParameterHandle<int>("SOURCE.DEPTHSENSE.AmplitudeThreshold").Value = 100;
 
             // events
             device.EventManager.RegisterEventListener("DEVICE.Status", new Iisu.EventDelegates.Device.Status(onDeviceStatusChanged));