Skip to content

Feature Proposal: Add VLM (Vision Language Model) as an Optional OCR EngineΒ #14

@vegetablest

Description

@vegetablest

πŸ’‘ Core Concept

Coexistence, not replacement.
Offer multiple choices for different user preferences:

  • πŸ–₯️ Privacy-first users β€” continue using local OCR (RapidOCR), where all data stays on-device.
  • ☁️ Lightweight or accuracy-focused users β€” opt for a cloud-based VLM API OCR, reducing local resource load and improving recognition quality.

πŸ” Current Limitations of Local OCR

  • Memory usage: Resident model consumes 200–500 MB RAM.
  • CPU usage: Local inference takes up CPU resources.
  • Startup delay: Model loading slows down initialization.

🌟 Advantages of the VLM-based OCR Option

1. Resource Optimization

  • 🧩 Zero memory footprint – no local model required.
  • ⚑ Zero CPU consumption – inference handled entirely in the cloud.
  • πŸš€ Faster startup – no model initialization delay.

2. Feature Enhancements

  • ✨ Higher accuracy in complex or noisy scenarios.
  • 🧠 Contextual understanding of image content and layout.
  • πŸ“Š Structured extraction (tables, lists, key-value pairs).
  • 🌐 Improved multilingual support, especially for mixed-language content.

πŸ”’ Privacy and User Control

  • Local OCR: Full data privacy β€” images and text are processed entirely offline.
  • Cloud-based VLM OCR: Opt-in feature β€” users are clearly informed before any data upload.

This dual approach respects user choice, allowing them to decide between privacy-first and performance-first workflows without compromise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions