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
  • Project
  • Project
  • Project
  • Project