Open
Description
Future _read() async {
List texts = [];
try {
texts = await FlutterMobileVision.read(
waitTap: true,
flash: _torchOcr,
autoFocus: _autoFocusOcr,
multiple: _multipleOcr,
showText: _showTextOcr,
preview: _previewOcr,
camera: _ocrCamera,
fps: 2.0,
);
setState(() {
currentLogItem.washOption = texts[0].value;
});
} on Exception {
texts.add(OcrText('Failed to recognize text'));
}
}
}
Metadata
Metadata
Assignees
Labels
No labels