A wrapper around a tesseract wrapper, which aims to improve easy of use.
Features:
- Automatically downloads language file from tessdata.
- Makes string OCR interface easier to use.
- Stream to Pix converter.
var pix = PixConverter.ToPix(bitmap);
var ocrText = await pix.GetTextAndEnsureData()
.CleanAndFlattenString();
var pix = imageStream.ConvertToPix();
var ocrText = await pix.GetTextAndEnsureData()
.CleanAndFlattenString();
To run in linux you need to install some dependencies, here's a great comment/thread exaplaining how to do it