runPipeline abstract method
Future<List<OcrResult> >
runPipeline(
- Uint8List imageBytes,
- List<
OcrPreprocessor> preprocessors, { - OcrOptions? options,
用宿主注入的预处理变体跑编排管线(插件接口)。
每个预处理产出一个变体图;管线对全部变体并行检测、合并为识别窗、 再对每个窗在「底图 + 识别源变体」上择优识别。详见 OcrPreprocessor。
Implementation
Future<List<OcrResult>> runPipeline(
Uint8List imageBytes,
List<OcrPreprocessor> preprocessors, {
OcrOptions? options,
});