Scanit adds a document scanner to your app: real-time edge detection, perspective correction, automatic cropping and export to PDF or PNG.
What it does
- On-device processing capture and correction run locally, without a network.
- Optional cloud features denoising, advanced deskew and chained OCR through the Garduc API.
- Wrappers official bindings for React Native and Flutter.
Installation
iOS · Swift Package Manager
.package(url: "https://github.com/garduc/scanit-ios", from: "1.0.0")Android · Gradle
implementation("com.garduc:scanit:1.0.0")Basic usage
import Scanit
let scanner = ScanitView(apiKey: "gk_...")
scanner.onCapture { doc in
// doc.pages: corrected page images
// doc.pdf: Data, ready to upload
}Platforms
| Platform | Min version |
|---|---|
| iOS | 15.0 |
| Android | API 24 |
| React Native | 0.71 · official wrapper |
| Flutter | 3.0 · official wrapper |
The SDK is licensed as a monthly subscription per Garduc account. The OCR add-on is enabled per API key.
Account and billing
Scanit runs on the Garduc developer platform. Create a Garduc account, generate an API key bound to this product and start calling the API.
