recognizeImage abstract method

Future<List<OcrResult>> recognizeImage(
  1. String imagePath, {
  2. OcrOptions? options,
})

从图片文件路径识别文字。

options 为空时使用引擎级默认选项(见 setDefaultOptions), 否则用给定选项跑一次多分支预处理识别。

Implementation

Future<List<OcrResult>> recognizeImage(
  String imagePath, {
  OcrOptions? options,
});