# airob0t/idcardgenerator

身份证图片生成工具 generate an id card picture

Repository: https://github.com/airob0t/idcardgenerator
Canonical: https://ross.abutalabs.com/products/idcardgenerator
Language: Python
License: GPL-3.0
License Family: copyleft
Topics: python, opencv, idcard
Archived: true
Last push: 2019-11-25T08:28:48+00:00

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

## Adoption (not part of the score)
Stars 1539, forks 481 (observed 2026-08-28T04:05:00.385777+00:00)

## What it is
A Python GUI tool that generates Chinese resident ID card images (black-and-white and color) by filling in personal information and a portrait photo, with automatic background removal for solid-color photos. It is explicitly labeled for research use only and follows official ID card layout and font standards.

## Use cases
- generate a sample Chinese ID card image for research
- create mock ID card pictures with custom portrait photos
- automatically remove solid-color backgrounds from portrait photos
- produce black-and-white and color ID card renderings
- test document image processing pipelines with synthetic ID images

## When to choose
- you need synthetic ID card images for research or testing image-processing pipelines
- you want a simple GUI that composites text and portraits onto an ID card template
- you need automatic background removal for solid-color portrait photos

## When to avoid
- you intend to create fraudulent or real-looking identity documents - this is illegal and the project forbids it
- you need automatic background removal from complex backgrounds (not yet supported)
- you need a maintained tool with recent updates - the last release was in 2019

## Facets
- artifact type: application
- maturity: maintenance
- function: image-processing, gui, data-generation
- domain: image-processing, graphics, developer-tools
- platform: python, windows, cross-platform
- tags: id-card, opencv, image-compositing, background-removal, chinese-id-card, research-tool, macos, desktop

## Member repositories
- airob0t/idcardgenerator (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:00.385777+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:30:53.066849+00:00, confidence not recorded.
  - readme: https://github.com/airob0t/idcardgenerator (fetched 2026-08-28T04:05:00.385777+00:00, sha 6d61119b0439)
  - registry_pypi: https://pypi.org/pypi/idcardgenerator/json (fetched 2026-08-29T11:32:28.727257+00:00, sha 06da7713ce67)
- Data as of 2026-08-30T08:39:29.467469+00:00.
