tesseract_ocr 0.1.2+1 tesseract_ocr: ^0.1.2+1 copied to clipboard
Tesseract OCR for Flutter. Tesseract 4 adds a new neural net (LSTM) based OCR engine which is focused on line recognition.It also needs traineddata files which support the legacy engine, for example t [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add tesseract_ocr
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
tesseract_ocr: ^0.1.2+1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:tesseract_ocr/tesseract_ocr.dart';