emon_ocr_tesseract library
Tesseract for emon.
Every platform. It needs the model packs tess-fast-eng (and tess-osd for orientation and script detection); other languages are packs of their own, fetched when a conversion asks for them.
final emon = await Emon.open(nativeAdapters: [tesseractAdapter()]);
Constants
- tesseractEngine → const OcrEngine
- The OCR engine of kin's table this adapter answers as.
-
tesseractPacks
→ const List<
String> -
The packs this engine reads with (ids of the catalogue): fetch them ahead of time with
emon.packs.ensure.
Properties
- tesseractAvailable → bool
-
Whether the library of this adapter is part of the build.
no setter
Functions
-
tesseractAdapter(
{String? config}) → NativeAdapter -
The Tesseract adapter, for
Emon.open'snativeAdapters.