Exemple #1
0
    public TestRecognizer()
    {
      _inkFile = new InkFile();
      _recognizer = new NNRecognizer();

      //Train recognizer
      _recognizer.Train();
    }
Exemple #2
0
    public RecognizerForm()
    {
      InitializeComponent();

      //Initialize service
      _recognizer = new NNRecognizer();

      _drawingInk = new InkOverlay(pnlDrawing.Handle)
      {
        AttachedControl = pnlDrawing,
        Enabled = true,
        DynamicRendering = true
      };

      _drawingInk.Stroke += new InkCollectorStrokeEventHandler(drawingInk_Stroke);
    }