Beispiel #1
0
        public KwyjiboController(string trainingPath, string wordsPath, string wordProbPath)
        {
            // create our instances of each module
            Video         = new VideoInput();
            TileDetector  = new TileDetector();
            BoardDetector = new BoardDetector();
            TileOcr       = new TileOCR(trainingPath);
            Game          = new ScrabbleGame();

            // keep state of the words we find after Process
            NewWords = new List <Word>();

            // intialise the word classifier using supplied word list and word probability files
            setupWordClassifier(wordsPath, wordProbPath);
        }
Beispiel #2
0
        public KwyjiboController(string trainingPath, string wordsPath, string wordProbPath)
        {
            // create our instances of each module
            Video = new VideoInput();
            TileDetector = new TileDetector();
            BoardDetector = new BoardDetector();
            TileOcr = new TileOCR(trainingPath);
            Game = new ScrabbleGame();

            // keep state of the words we find after Process
            NewWords = new List<Word>();

            // intialise the word classifier using supplied word list and word probability files
            setupWordClassifier(wordsPath, wordProbPath);
        }