All Projects → xiaohange → Idcardrecognition

xiaohange / Idcardrecognition

Licence: mit
🇨🇳中国大陆第二代身份证 🆔 识别,自动读出身份证上的信息(姓名、性别、民族、住址、身份证号码)并截取身份证照片, iOS开发者交流:①群:446310206 ②群:426087546

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Idcardrecognition

Tf Siamesenet
Face recognition based on SiameseNet
Stars: ✭ 87 (-54.45%)
Mutual labels:  recognition
Yolo Powered robot vision
Stars: ✭ 133 (-30.37%)
Mutual labels:  recognition
Text Detector
Tool which allow you to detect and translate text.
Stars: ✭ 173 (-9.42%)
Mutual labels:  recognition
Online place recognition
Graph-based image sequences matching for the visual place recognition in changing environments.
Stars: ✭ 100 (-47.64%)
Mutual labels:  recognition
Avpi
an open source voice command macro software
Stars: ✭ 130 (-31.94%)
Mutual labels:  recognition
Faceid
An implementation of YOLO v2 for direct facial recognition within detection layer.
Stars: ✭ 144 (-24.61%)
Mutual labels:  recognition
Crnn chinese characters rec
(CRNN) Chinese Characters Recognition.
Stars: ✭ 1,259 (+559.16%)
Mutual labels:  recognition
Opencv Course
Learn OpenCV in 4 Hours - Code used in my Python and OpenCV course on freeCodeCamp.
Stars: ✭ 185 (-3.14%)
Mutual labels:  recognition
Simpsonrecognition
Detect and recognize The Simpsons characters using Keras and Faster R-CNN
Stars: ✭ 131 (-31.41%)
Mutual labels:  recognition
Architectural Floor Plan
AFPlan is an architectural floor plan analysis and recognition system to create extended plans for building services.
Stars: ✭ 165 (-13.61%)
Mutual labels:  recognition
Dcnets
Implementation for <Decoupled Networks> in CVPR'18.
Stars: ✭ 115 (-39.79%)
Mutual labels:  recognition
Labelbox
Labelbox is the fastest way to annotate data to build and ship computer vision applications.
Stars: ✭ 1,588 (+731.41%)
Mutual labels:  recognition
Pyicp Slam
Full-python LiDAR SLAM using ICP and Scan Context
Stars: ✭ 155 (-18.85%)
Mutual labels:  recognition
Facial Expression Recognition
💡My Solution to Facial Emotion Recognization in Kaggle competition
Stars: ✭ 88 (-53.93%)
Mutual labels:  recognition
Fbrecog
An unofficial python wrapper for the Facebook face recognition endpoint
Stars: ✭ 184 (-3.66%)
Mutual labels:  recognition
Julius
Open-Source Large Vocabulary Continuous Speech Recognition Engine
Stars: ✭ 1,258 (+558.64%)
Mutual labels:  recognition
Crnn.pytorch
Convolutional recurrent network in pytorch
Stars: ✭ 1,914 (+902.09%)
Mutual labels:  recognition
Speechtotext Websockets Javascript
SDK & Sample to do speech recognition using websockets in Javascript
Stars: ✭ 191 (+0%)
Mutual labels:  recognition
Deep Text Recognition Benchmark
Text recognition (optical character recognition) with deep learning methods.
Stars: ✭ 2,665 (+1295.29%)
Mutual labels:  recognition
Lc Finder
An image annotation and object detection tool written in C
Stars: ✭ 163 (-14.66%)
Mutual labels:  recognition

IDCardRecognition

简介

一个近乎完整的可识别中国身份证信息的Demo

可自动快速读出身份证上的信息(姓名、性别、民族、住址、身份证号码)并截取到身份证图像

IDAuthViewController-开始验证身份证

实现原理

经实践发现,只要身份证号码处于摄像头预览图层中时,即不用完全对准身份证也可以读取到身份证号码,但此时截取到的身份证图像并不完整。

为获取到比较完整的身份证图像,经多次实践发现,当身份证人像大约位于拍摄框中的右上区域时,此时可获取到比较完整的身份证图像。

因此,在拍摄框中右上区域加了一个人像区域提示框,并将该区域设为扫描人脸的区域,只有该区域扫描到身份证上的人脸时(确保用户的确将身份证人像对准了拍摄框中的人像框),才执行读取身份证信息的操作。

Usage

将该功能集成到你开发的app里:

1、请把Category、Tool、libexidcard、Model、View、Controller这六个文件夹拖入到你的项目里;

2、将idcard_first.png、idcard_first_head.png、idcard_back.png、nav_back.png、nav_torch_on.png、nav_torch_off.png拖入到你的项目中,或在相应代码处替换为你的素材;

3、在你的项目的Info.plist文件中,添加权限描述(Key   Value)

Privacy - Camera Usage Description      是否允许访问相机

Privacy - Photo Library Usage Description       是否允许访问相册

5、在你的项目中的相应处,首先:

`#import "IDAuthViewController.h"`

在使用该功能的地方:

`IDAuthViewController *IDAuthVC = [[IDAuthViewController alloc] init];`

`[self.navigationController pushViewController:IDAuthVC animated:YES];`
 

Star

iOS开发者交流群:446310206 喜欢就❤️❤️❤️star一下吧!你的支持是我更新的动力! Love is every every every star! Your support is my renewed motivation!

License

This code is distributed under the terms and conditions of the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].