Tesseract Unity Save

Standalone OCR plugin for Unity using Tesseract

Project README

Standalone OCR for Unity using Tesseract

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

Requires

  • Unity

Usage

The Demo Scene (Main) portrays how one can use the classes via TesseractDemoScript

1. Create and Setup a new Driver

TesseractDriver tesseractDriver = new TesseractDriver();
tesseractDrriver.Setup(OnSetupComplete)

Parameter:

UnityAction onSetupComplete -- Action called when Tesseract is successfully set up

2. Recognize from a Texture

string recognizedText = tesseractDriver.Recognize(texture)

Parameter:

Texture2D texture -- The texture that the driver will look for characters in

3. Get Highlighted Texture

Texture2D highlightedTexture = tesseractDriver.GetHighlightedTexture()

How it looks

How it looks

License

Apache-2.0 License

Open Source Agenda is not affiliated with "Tesseract Unity" Project. README Source: Neelarghya/tesseract-unity
Stars
60
Open Issues
9
Last Commit
3 years ago
License

Open Source Agenda Badge

Open Source Agenda Rating