This is a sample project that sets up API and Dependencies to use Tesseract for different platforms. To read more about how this project was made visit this Article
- Unity
The Demo Scene (Main) portrays how one can use the classes via TesseractDemoScript
TesseractDriver tesseractDriver = new TesseractDriver();
tesseractDrriver.Setup(OnSetupComplete)
UnityAction onSetupComplete -- Action called when Tesseract is successfully set up
string recognizedText = tesseractDriver.Recognize(texture)
Texture2D texture -- The texture that the driver will look for characters in
Texture2D highlightedTexture = tesseractDriver.GetHighlightedTexture()