//Configuration parameters public GestureDetection() { _trainingstore = new TrainingStore(); AddTrainingData(new List <double> { 1, 2, 3, 4, 5, 6 }, "Right circle", 1); AddTrainingData(new List <double> { 6, 5, 4, 3, 2, 1 }, "Left circle", 1); }
private FaceSpotDb() { uint timer = Log.DebugTimerStart (); Database.BeginTransaction (); //FIXME Decide whether to use true/false value face_store = new FaceStore (Database, false); photo_store_addon = new PhotoStoreAddOn(Database); training_data = new TrainingStore(Database); Database.CommitTransaction (); Log.DebugTimerPrint (timer, "FaceSpot Db Initialization took {0}"); }