Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the OCR more generic #26

Open
gnmmarechal opened this issue Apr 24, 2019 · 0 comments
Open

Make the OCR more generic #26

gnmmarechal opened this issue Apr 24, 2019 · 0 comments

Comments

@gnmmarechal
Copy link
Owner

Instead of calling Tesseract directly, write a class that manages OCR. It'd be used like:

OCR ocrEngine = new OCR(); // uses the default OCR engine
OCR ocrEngine2 = new OCR("Tesseract"); // Specifies the OCR engine

Bitmap b = new Bitmap("test.bmp");
string ocrText = ocrEngine.PerformOCR(b);

Maybe add support for OCR plugins ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant