Example #1
0
 /*
  * invalid(無効) カメラがない
  * 全部false
  */
 private void SetDefaultInvalidSettings()
 {
     m_moduleSettings["Detection"] = new ModuleSettings {
         IsEnabled = false, NumberOfFaces = 0
     };
     m_moduleSettings["Landmarks"] = new ModuleSettings {
         IsEnabled = false, NumberOfFaces = 0
     };
     m_moduleSettings["Pose"] = new ModuleSettings {
         IsEnabled = false, NumberOfFaces = 0
     };
     m_moduleSettings["Recognition"] = new ModuleSettings {
         IsEnabled = false, NumberOfFaces = 0
     };
     m_moduleSettings["Expressions"] = new ModuleSettings {
         IsEnabled = false, NumberOfFaces = 0
     };
     m_moduleSettings["Pulse"] = new ModuleSettings {
         IsEnabled = false, NumberOfFaces = 0
     };
 }
Example #2
0
 /*
  * Ds4 -> Expressionが使えない
  * Detection, Landmarksがtrue
  */
 private void SetDefaultDs4Settings()
 {
     m_moduleSettings["Expressions"] = new ModuleSettings {
         IsEnabled = false, NumberOfFaces = 4
     };
 }
Example #3
0
 /*
  * Ivcam?? 普通のカメラ
  * Expressionだけtrueにして残し。他はinvalidの時のもあるけど使えなくしたため削除
  * 普通に起動したら一度ここ通る
  */
 private void SetDefaultIvcamSettings()
 {
     m_moduleSettings["Expressions"] = new ModuleSettings {
         IsEnabled = true, NumberOfFaces = 4
     };
 }