pdf_ocr_vlm 1.2.1 copy "pdf_ocr_vlm: ^1.2.1" to clipboard
pdf_ocr_vlm: ^1.2.1 copied to clipboard

HTTP OCR engine for dart_pdf_editor that adds a selectable, searchable text layer to scanned PDFs using a self-hosted VLM or any JSON OCR service.

example/main.dart

// ignore_for_file: avoid_print

import 'package:pdf_ocr_vlm/pdf_ocr_vlm.dart';

void main() {
  final engine = VlmOcrEngine.dotsOcr(
    endpoint: Uri.parse('http://localhost:8000/v1/chat/completions'),
    model: 'model',
  );

  print('OCR endpoint: ${engine.endpoint}');
  print('Languages: ${engine.languages}');
  engine.close();
}
1
likes
0
points
356
downloads

Publisher

verified publisherbenmilanko.com

Weekly Downloads

HTTP OCR engine for dart_pdf_editor that adds a selectable, searchable text layer to scanned PDFs using a self-hosted VLM or any JSON OCR service.

Repository (GitHub)
View/report issues

Topics

#pdf #ocr #text-recognition #scanned-documents

License

unknown (license)

Dependencies

dart_pdf_editor, flutter, http, pdf_document

More

Packages that depend on pdf_ocr_vlm