extractText static method
image to text
String _ocrText = await FlutterTesseractOcr.extractText(url, language: langs, args: {
"preserve_interword_spaces": "1",});
Implementation
static extractText(String imagePath, {String? language, Map? args}) async {
var promiseData =
_extractText(imagePath, jsify({"language": language, "args": args!}));
var rtn = await promiseToFuture(promiseData);
return rtn;
}