A free, open-source document scanner app for Android. Capture documents with your camera, auto-detect edges, crop manually, apply filters, extract text with OCR, and export as PDF or JPEG.
| Home | Camera | Crop | Editor | Export |
|---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
- High-quality camera capture using CameraX
- File-based image saving with EXIF rotation handling
- Import images from gallery
- Flash toggle support
- Automatic document edge detection using OpenCV
- Interactive crop overlay with draggable corner handles
- Manual corner adjustment for precise cropping
- Perspective correction to flatten documents
- Original β no processing
- Grayscale β black & white tones
- B&W β high contrast adaptive threshold
- Enhanced β CLAHE contrast enhancement
- Powered by Google ML Kit Text Recognition
- Extract text from scanned documents
- Copy extracted text directly
- Export as PDF or JPEG
- Rename documents before saving
- Share directly to WhatsApp, email, or any app
- Multi-page PDF support
- Home screen with saved documents list
- View, share, or delete saved PDFs
- Sorted by most recent
| Component | Technology |
|---|---|
| Language | Kotlin |
| Camera | CameraX |
| Edge Detection | OpenCV 4.9 |
| OCR | Google ML Kit |
| PDF Generation | iText 7 (Android) |
| UI | Material Design 3 |
| Min SDK | 24 (Android 7.0) |
| Target SDK | 34 (Android 14) |
app/
βββ ui/
β βββ home/ # Home screen - document list
β βββ camera/ # Camera capture
β βββ editor/ # Crop overlay + filters + OCR
β βββ gallery/ # Legacy gallery view
β βββ pdf/ # PDF preview & sharing
βββ utils/
β βββ EdgeDetector # OpenCV edge detection
β βββ PerspectiveTransform # Warp correction
β βββ ImageFilters # Grayscale, B&W, Enhanced
β βββ PdfGenerator # iText PDF creation
β βββ OcrEngine # ML Kit text extraction
βββ model/
βββ Document # Data models
Requires Android SDK + JDK 17.
# Build debug APK
./gradlew assembleDebug
# Run tests
./gradlew testDebugUnitTest
# APK location
app/build/outputs/apk/debug/app-debug.apkGitHub Actions automatically builds and tests on every push. Download the APK from Actions artifacts.
- Home β View saved documents or tap camera FAB
- Camera β Frame document and capture
- Crop β Auto-detected edges shown, drag corners to adjust, confirm
- Edit β Apply filters, run OCR, add more pages
- Export β Name your file, choose PDF/JPEG, share
MIT




