Skip to main content

Document Scanner

Wisej.NET Hybrid includes an extension for document capture and image OCR. Capture uses VisionKit on iOS, OpenCV on Android, and a native capture dialog on Windows.

Android (Left) and iOS (Right) Document Scanner

Capture and OCR have different platform coverage

The 4.1.7 packages include document capture on Android, iOS and Windows, and image OCR on Android, iOS, Windows and Mac Catalyst. Windows capture returns JPEG pages and supports multiple pages. Mac Catalyst document capture remains unsupported. Package coverage does not establish operation on every physical device; test camera permissions, cancellation and returned results on the intended hardware. See Platform Capabilities.

Installation​

Install Wisej-4-Hybrid-DocumentScanner in the Wisej application and Wisej-4-Hybrid-DocumentScanner-Native in the MAUI client. Use 4.1.7 for the 4.1 line or 4.0.14 for 4.0. For 3.5, use the corresponding Wisej-3-* pair at 3.5.41. The capabilities added in 4.1.7 are described in Release Notes; this does not imply a backport to older release lines. Follow Extensions for package pairing and the sample startup configuration for native registration and camera permissions.

Example Project​

The 4.1 example targets Android and iOS. Follow Examples for its actual solution name, workloads and build command. A device run is needed to validate camera access and returned pages.

Features​

  • Automatic Edge Detection
  • Automatic Cropping
  • (iOS) Scan multiple documents
  • (Windows, 4.1.7) Capture multiple JPEG pages
  • (4.1.7) Image OCR on Android, iOS, Windows and Mac Catalyst