A Capacitor plugin for scanning documents on Android and iOS, enabling apps to capture notes, receipts, and other rectangular items.
Capacitor Document Scanner is a plugin that adds native document scanning functionality to Capacitor-based mobile applications. It enables apps to use the device camera to detect and capture rectangular documents like receipts, notes, and business cards, returning the scanned images for further processing. The plugin solves the need for integrating reliable, platform-specific document scanning without building custom native implementations.
Mobile developers using Capacitor or Ionic to build hybrid Android and iOS apps that require document scanning features, such as for digitization, note-taking, or expense tracking applications.
Developers choose this plugin because it provides a consistent, easy-to-use JavaScript API for document scanning across both major mobile platforms, eliminating the need to write separate native code. Its focus on rectangular document detection and customizable cropping options offers a tailored solution compared to generic camera plugins.
A Capacitor document scanner plugin for Android and iOS
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Leverages device camera to automatically detect and capture rectangular documents, reducing user effort and improving accuracy, as demonstrated in the provided demo videos.
Offers a consistent JavaScript interface for both Android and iOS, streamlining development for hybrid mobile apps built with Capacitor, as shown in the unified code examples.
Supports capturing multiple documents in a single session with configurable limits, ideal for scanning sets of receipts or notes efficiently, though maxNumDocuments is Android-only.
Allows images to be returned as file paths or base64 strings via the ResponseType enum, providing options for different integration needs in app workflows.
Key features like limiting scan count (maxNumDocuments) and disabling crop adjustments (letUserAdjustCrop) are only available on Android, leading to inconsistent functionality across platforms.
Focuses solely on image capture without built-in OCR, image enhancement, or cloud integration, which may require additional libraries for comprehensive document processing.
Only detects rectangular shapes, so documents with irregular edges or non-standard formats may not be captured properly, limiting versatility for varied use cases.