# pqpo/SmartCamera

📷SmartCamera 是一个 Android 相机拓展库，能够实时采集并且识别相机内物体边框是否吻合指定区域。SmartCamera is an Android camera extension library，provides a scanning module that can recognizes whether the object's border inside the camera matches the area in real time.

Repository: https://github.com/pqpo/SmartCamera
Canonical: https://ross.abutalabs.com/products/smartcamera
Homepage: https://pqpo.me/2018/09/12/android-camera-real-time-scanning/
Language: Java
License Family: other
Last push: 2019-07-11T12:20:33+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2931, "days_push": 2610, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1305, forks 218 (observed 2026-08-28T04:04:18.759373+00:00)

## What it is
SmartCamera is an Android camera extension library providing a highly customizable real-time scanning module that detects whether an object's border inside the camera matches a specified region. It combines a camera view with a mask overlay and an OpenCV-based native scanner for use cases like ID cards, business cards, and document scanning with auto-capture and cropping.

## Use cases
- scan id cards with android camera
- detect document borders in real time
- auto-capture when card fits the frame
- build a business card scanner app
- real-time edge detection on camera preview frames
- tune scanning algorithm parameters for better recognition

## When to choose
- you need real-time border detection on Android camera preview streams
- you are building a document or card scanning feature with auto-capture
- you want tunable OpenCV-based scanning parameters with a debug preview mode

## When to avoid
- you need to crop a single static photo rather than a live camera stream (use SmartCropper instead)
- you target platforms other than Android
- you need an actively maintained library with recent releases or a clear license

## Facets
- artifact type: library
- maturity: maintenance
- function: computer-vision, image-processing, sdk, ui-components
- domain: computer-vision, mobile-development, image-processing
- platform: jvm
- tags: camera, document-scanning, edge-detection, opencv, jni, real-time-scanning, border-detection, android

## Member repositories
- pqpo/SmartCamera (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:18.759373+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-30T04:51:03.841231+00:00, confidence not recorded.
  - readme: https://github.com/pqpo/SmartCamera (fetched 2026-08-28T04:04:18.759373+00:00, sha 0b8f1dcd6cac)
  - homepage: https://pqpo.me/2018/09/12/android-camera-real-time-scanning/ (fetched 2026-08-29T12:09:11.550634+00:00, sha 5f3ba6d49931)
  - site_page: https://www.pqpo.me/about (fetched 2026-08-29T12:09:11.560539+00:00, sha e92c21202206)
- Data as of 2026-08-30T08:39:29.467469+00:00.
