RS Kusum Scanner SDK 1.6: An Open-Source Android Document Scanner

We've open-sourced our Android document scanner. RS Kusum Scanner is a complete scanning library you can use free in personal and commercial apps. Everything runs on the device โ no ML Kit, no Play services and no cloud.
- ๐ฆ v1.6.0 on JitPack
- โ๏ธ Apache 2.0
- ๐ค minSdk 26
- ๐ด Fully on-device
What it does
Auto capture & crop
On-device edge detection and perspective correction, with a steady-phone check before the shutter fires.
Scan modes
Document, Book (split at the spine), Book cover, Whiteboard, ID card (front & back on one page) and Business card.
Upright pages
A text-orientation model turns sideways or upside-down pages the right way up โ including Hindi and other Devanagari text.
Editing
Filters (Auto colour, Dark text, B&Wโฆ), shadow removal, crop, rotate and an eraser that removes pen and highlighter but keeps the text.
AI Text
Live text highlighting, on-device OCR with Tesseract in 100+ languages, plus links, phone numbers, dates, amounts, PAN and GSTIN.
Duplicate protection & PDF
Re-captured pages are recognised, and compressed PDFs come from a built-in writer โ no PDF library needed.
New in 1.6.0
- HD scan: capture at the camera's full resolution (up to 6000 px) and keep pages at 5000 px in the PDF.
- First-run tour explaining the camera, scan modes and editing.
- Batch recovery: an unfinished batch comes back after the app is killed or the phone restarts.
- Long batches (100+ pages) with bounded memory, and a smarter eraser tested with many pen and highlighter colours.
Add it to your app
// settings.gradle.kts โ repositories { maven("https://jitpack.io") }
implementation("com.github.newsworldrs:rsappsstudio.github.io:1.6.0")
val scanner = rememberLauncherForActivityResult(ScanDocument()) { result ->
result?.pdfUri // finished PDF
result?.text // text read in AI Text mode
}
scanner.launch(ScannerOptions())
Need a custom scanner or Android app?
We build Android apps with camera, OCR and PDF features for businesses.