Example #1
0
 public MegajewelForm()
 {
     InitializeComponent();
     capturing = new Capturing(this);
     Overlaying = new Overlaying(this);
     Processing = new Processing(this);
     HotkeyManager = new HotkeyManager(this);
     KnowledgeBase = new KnowledgeBase(this);
     KnowledgeBase.Load();
     RecognitionStrategy.AllStrategies.Add(new NearestHistogramStrategy(this.KnowledgeBase.TrainingData));
     PopulateModes();
     RecognitionStrategy = new NearestHistogramStrategy(this.KnowledgeBase.TrainingData);
     AutonomyStrategy = new DoNothingStrategy();
     fontPower = new Font(FontFamily.GenericSansSerif, 28);
 }
Example #2
0
 public MegajewelForm()
 {
     InitializeComponent();
     capturing     = new Capturing(this);
     Overlaying    = new Overlaying(this);
     Processing    = new Processing(this);
     HotkeyManager = new HotkeyManager(this);
     KnowledgeBase = new KnowledgeBase(this);
     KnowledgeBase.Load();
     RecognitionStrategy.AllStrategies.Add(new NearestHistogramStrategy(this.KnowledgeBase.TrainingData));
     PopulateModes();
     RecognitionStrategy = new NearestHistogramStrategy(this.KnowledgeBase.TrainingData);
     AutonomyStrategy    = new DoNothingStrategy();
     fontPower           = new Font(FontFamily.GenericSansSerif, 28);
 }
Example #3
0
 private void cbRecognitionStrategy_SelectedIndexChanged(object sender, EventArgs e)
 {
     RecognitionStrategy = (RecognitionStrategy)cbRecognitionStrategy.SelectedItem;
 }
Example #4
0
 private void cbRecognitionStrategy_SelectedIndexChanged(object sender, EventArgs e)
 {
     RecognitionStrategy = (RecognitionStrategy)cbRecognitionStrategy.SelectedItem;
 }