# wildma/IDCardCamera

:fire:Android自定义相机实现身份证拍照，并加入自动对焦与图片不规则裁剪。 https://www.jianshu.com/p/5e3cb0c63cd5

Repository: https://github.com/wildma/IDCardCamera
Canonical: https://ross.abutalabs.com/products/idcardcamera
Language: Java
License: Apache-2.0
License Family: permissive
Topics: custom-camera, id-card-camera, autofocus-camera, irregular-cutting-of-pictures
Last push: 2022-06-15T11:52:22+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": 2986, "days_push": 1540, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1239, forks 241 (observed 2026-08-28T04:04:06.046058+00:00)

## What it is
An Android library providing a custom camera interface for capturing ID card photos with autofocus, flash, and automatic or manual irregular (polygonal) image cropping. It is distributed via JitPack and returns the cropped image path through onActivityResult.

## Use cases
- capture ID card photos in an Android app
- crop photos with an irregular polygon cropper
- build a custom camera screen with tap-to-focus and flash
- automatically crop captured images to card boundaries
- upload cropped ID images to a server

## When to choose
- you need an Android ID/document photo capture flow with cropping out of the box
- you want a lightweight Java library integrated via JitPack with a simple onActivityResult API
- you need manual irregular (polygon) cropping of camera photos

## When to avoid
- you target CameraX/Camera2 modern APIs or Jetpack Compose, since this uses the legacy Camera API
- you need iOS, web, or cross-platform support
- you need active maintenance or recent updates, as the project has not been updated since 2022

## Facets
- artifact type: library
- maturity: maintenance
- function: image-processing, gui, file-upload
- domain: mobile-development, image-processing, android-tools
- platform: jvm
- tags: custom-camera, id-card, autofocus, image-cropping, jitpack, android

## Member repositories
- wildma/IDCardCamera (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:06.046058+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-30T05:10:00.106854+00:00, confidence not recorded.
  - readme: https://github.com/wildma/IDCardCamera (fetched 2026-08-28T04:04:06.046058+00:00, sha 322f4ba0e039)
- Data as of 2026-08-30T08:39:29.467469+00:00.
