# jhansireddy/AndroidScannerDemo

ScanLibrary is an android document scanning library built on top of OpenCV, using the app you will be able to select the exact edges and crop the document accordingly from the selected 4 edges and change the perspective transformation of the cropped image.

Repository: https://github.com/jhansireddy/AndroidScannerDemo
Canonical: https://ross.abutalabs.com/products/androidscannerdemo
Language: C++
License: MIT
License Family: permissive
Last push: 2021-04-23T19:51:29+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4168, "days_push": 1958, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1089, forks 465 (observed 2026-08-28T04:03:32.618969+00:00)

## What it is
ScanLibrary is an Android document scanning library built on top of OpenCV that lets users select document edges, crop the document, and apply perspective transformation. It ships with a demo app and can be imported as a module into Android projects.

## Use cases
- scan documents with an android camera
- crop a document by selecting its four edges
- apply perspective correction to a photographed page
- convert scanned pages to black and white
- add document scanning to my android app
- pick an image from gallery and straighten it

## When to choose
- you need a free, self-contained document scanner inside an Android app
- you want OpenCV-based edge detection and perspective cropping without building it yourself
- you need both camera capture and gallery image scanning

## When to avoid
- you target iOS or cross-platform frameworks
- you need actively maintained code with recent updates
- you need OCR text extraction rather than image scanning
- you need multi-page PDF scanning workflows out of the box

## Facets
- artifact type: library
- maturity: maintenance
- function: image-processing, computer-vision, ocr
- domain: mobile-development, computer-vision, image-processing
- platform: cpp
- tags: document-scanning, opencv, perspective-correction, edge-detection, camera, android, mobile

## Member repositories
- jhansireddy/AndroidScannerDemo (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:32.618969+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:49:18.148606+00:00, confidence not recorded.
  - readme: https://github.com/jhansireddy/AndroidScannerDemo (fetched 2026-08-28T04:03:32.618969+00:00, sha c016f9607fd8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
