Coder Social home page Coder Social logo

wuchuanrong / fbyidcardrecognition-ios Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fanbaoying/fbyidcardrecognition-ios

0.0 0.0 0.0 3.72 MB

可快速高效对身份证进行识别,可识别头像面(姓名、性别、民族、住址、身份证号码) 和 国徽面(签发机关、有效期),烦请点个Star!

Objective-C 92.56% C 7.44%

fbyidcardrecognition-ios's Introduction

快速高效 | iOS身份证识别

一:简介

demo新增身份证国徽面识别,可识别出签发机关和有效期。

快捷支付涉及到方方面面,同时安全问题既是用户所关心的,也是制作者不容忽视的重要部分。 比如涉及到支付和金钱的app,商户端app等等,都需要进行实名认证,实名认证可以通过银行卡认证和身份证认证。 通常办法是通过上传照片,并且手动输入基本信息进行认证,这种方法不仅操作复杂,而且容易出错。 网上很多资源,识别率低,速度慢,用户体验很差。今天我就和大家介绍一下我使用的方法,可以快速、高效的识别**身份证信息。随后会陆续更新银行卡识别。

项目展示

1头像面信息展示页面

信息展示页面

2.国徽面信息展示页面

5AB7A14B-0121-4AE8-A6C5-F5A6668287D7.png

四:Demo接入流程

1.首先把demo下载下来

2.打开项目将下面的文件拷贝到自己的工程中:

  • liscanidcard
  • FBYBase

3.添加配置

在你的项目的Info.plist文件中,添加权限描述(Key Value) Privacy - Camera Usage Description 是否允许访问相机 Privacy - Photo Library Usage Description 是否允许访问相册 如下图: plist

4. 项目设置

选择项目名字,选择Build Settings,搜索enable bitcode 设置为NO即可。

5. 项目引用

1.头像面识别

在项目中需要使用的页面,增加引用代码:

#import "IDCardCaptureViewController.h"

在点击扫描身份证的点击事件中,跳转页面:

IDCardCaptureViewController *idcvc = [[IDCardCaptureViewController alloc]init];
    
[self.navigationController pushViewController:idcvc animated:YES];

2.国徽面识别

在项目中需要使用的页面,增加引用代码:

#import "TIDCardCaptureViewController.h"

在点击扫描身份证的点击事件中,跳转页面:

TIDCardCaptureViewController *idcvc = [[TIDCardCaptureViewController alloc]init];
    
[self.navigationController pushViewController:idcvc animated:YES];

到此项目就接入完成!!!

同时支持身份证银行卡识别

希望可以帮助大家,可加微信:FBY-fan 拉你进群交流

如果哪里有什么不对或者不足的地方,还望读者多多提意见或建议

如需转载请联系我,经过授权方可转载,谢谢


欢迎关注公众号「网罗开发」

网罗开发

fbyidcardrecognition-ios's People

Contributors

fanbaoying avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.