Explorar o código

added confidence-threshhold

Alexander Hendrich %!s(int64=11) %!d(string=hai) anos
pai
achega
d8046be2f3
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  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));