XieZhiFa/IdCardOCR
身份证正反面识别,身份证扫描识别,二代身份证OCR识别,OCR极速识别身份证所有信息正反面均可。离线无需联网,极速秒扫。
What it solves
This project provides a high-speed, offline OCR (Optical Character Recognition) solution for Android devices to recognize Chinese second-generation ID cards, driver's licenses, and passports. It eliminates the need for an internet connection, ensuring data privacy and fast processing times.
How it works
The project is integrated as an AAR library into Android applications. It provides a built-in scanning interface or an API for custom camera previews. The engine processes images of identity documents and extracts structured data (such as name, gender, birth date, and address) as JSON results.
Who it’s for
Android developers who need to implement secure, offline identity document scanning and verification within their mobile apps.
Highlights
- Offline Recognition: Works without internet connectivity for increased speed and security.
- Broad Support: Recognizes Chinese ID cards (including minority IDs from Xinjiang), driver's licenses, and passports.
- Structured Data: Extracts detailed fields like name, gender, birth date, address, and ID number.
- Automatic Cropping: Supports automatic cropping of ID card portraits.
- Flexible Integration: Offers both a ready-to-use scanning UI and a low-level API for custom implementations.
Related
- Project
SubhamTyagi/android-ocrA privacy-focused Android application that uses Tesseract 5 to perform offline optical character recognition (OCR) in over 120 languages.
- Project
arcships/light-ocrlight‑ocr is a cross‑platform, offline OCR library for Node.js and C++. It bundles the model, PDF renderer, and a Chinese fallback font in a single npm package, provides pre‑built native binaries for macOS, Linux and Windows, and can accelerate inference with Core ML or WebGPU. The API returns text lines with confidence scores and quadrilateral coordinates, and a CLI offers quick command‑line usage. Model sizes range from a 6 MB Tiny tier to a 139 MB Medium tier, all under Apache 2.0.
- Project
microblink/blinkid-androidBlinkID is a commercial Android SDK that adds on‑device ID‑document scanning and data extraction. It offers composable or activity‑based UI, extensive customization, OTA model updates, and requires a license key.
- Project
DavidVentura/offline-translatorAn Android translator app that performs text, PDF/ODT document, and image translation completely offline using on-device models.
- Project
Topkill/tianruoocrTianRuo OCR v6 is a Windows desktop app that captures screen text, runs OCR (online or offline via PaddleOCR/RapidOCR), and translates the result using many online services. It offers normal, silent, screenshot and clipboard‑listen modes, configurable shortcuts, and supports printed, table and handwritten text.