private void Start() { _tesseractDriver = new MyTesseractDriver(); _tesseractDriver.Setup(OnSetupCompleteRecognize); //Recoginze(texture); //SetImageDisplay(); }
private void Recoginze(Texture2D outputTexture) { ClearTextDisplay(); AddToTextDisplay(_tesseractDriver.CheckTessVersion()); //_tesseractDriver.Setup(); _tesseractDriver.Setup(OnSetupCompleteRecognize); ClearTextDisplay(); AddToTextDisplay(_tesseractDriver.Recognize(outputTexture)); AddToTextDisplay(_tesseractDriver.GetErrorMessage(), true); }