pdf_ocr_vlm 1.2.0
pdf_ocr_vlm: ^1.2.0 copied to clipboard
Vision-language-model OCR engine for dart_pdf_editor — add a selectable, searchable text layer over scanned PDF pages using a self-hosted SOTA OCR model (dots.ocr) or any HTTP OCR service.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add pdf_ocr_vlmWith Flutter:
$ flutter pub add pdf_ocr_vlmThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
pdf_ocr_vlm: ^1.2.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:pdf_ocr_vlm/pdf_ocr_vlm.dart';