# KevinGong2013/ChineseIDCardOCR

[Deprecated] 🇨🇳中国二代身份证光学识别

Repository: https://github.com/KevinGong2013/ChineseIDCardOCR
Canonical: https://ross.abutalabs.com/products/chineseidcardocr
Homepage: https://github.com/evilgix/evil
Language: Swift
License: Apache-2.0
License Family: permissive
Topics: swift, cnn, coreml, vision, ios11, xcode, deep-learning, machine-learning
Last push: 2018-02-07T02:52:24+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3668, "days_push": 3129, "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 1025, forks 185 (observed 2026-08-28T04:03:16.558258+00:00)

## What it is
A deprecated Swift library for optical character recognition of Chinese second-generation ID cards on iOS, using Vision and CoreML. It has been superseded by the Evil project, which extends OCR to bank cards and other text.

## Use cases
- recognize chinese id card numbers from photos
- ocr chinese second-generation id cards in an ios app
- scan id card text using coreml and vision
- extract id card fields from camera images
- run on-device ocr for chinese identity documents

## When to choose
- building an iOS 11+ app that needs Chinese ID card OCR with CoreML
- you want a Swift-native, on-device OCR example with trained models

## When to avoid
- starting a new project - the repo is deprecated and archived in favor of evilgix/Evil
- you need high accuracy on low-quality images
- you need OCR on platforms other than iOS/macOS

## Facets
- artifact type: library
- maturity: abandoned
- function: ocr, machine-learning, image-processing, computer-vision
- domain: computer-vision, image-processing, mobile-development, machine-learning
- platform: -
- tags: chinese-id-card, coreml, vision-framework, deprecated, swift, ios, mobile

## Member repositories
- KevinGong2013/ChineseIDCardOCR (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:16.558258+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-30T07:08:01.768077+00:00, confidence not recorded.
  - readme: https://github.com/KevinGong2013/ChineseIDCardOCR (fetched 2026-08-28T04:03:16.558258+00:00, sha 9379255dbc22)
  - homepage: https://github.com/evilgix/evil (fetched 2026-08-29T13:08:13.830223+00:00, sha b61ddaf322fc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
