Giter Site home page Giter Site logo

cropandcombine-idcard's Introduction

批量身份证裁剪&拼接

使用腾讯身份证识别接口,智能裁剪身份证照片(去掉证件外多余的边缘、自动矫正拍摄角度),然后将裁剪好的身份证正反面拼接在一张空白A4上,便于打印。

使用

  • 1、获取腾讯API密钥https://console.cloud.tencent.com/cam/capi
  • 2、填入main.py中对应SecretIdSecretKey
  • 3、pip install --upgrade tencentcloud-sdk-python
  • 4、python main.py

注意事项

必须先手动给身份证图片进行重命名,身份证正面重命名为偶数编号,身份证反面重命名为奇数编号,重命名编号从0开始。如0.jpg 1.jpg 2.jpg 3.jpg

最终身份证图片的总数量应为2的倍数,否则出现不可预测错误。

Feature && Todo

  • 批量识别身份证并裁剪&合并在一张A4上
  • 批量识别银行卡正反面并裁剪&合并在一张A4上
  • 批量识别身份证正面和银行卡正面并裁剪&合并在一张A4上
  • 批量识别身份证正反面和银行卡正面并裁剪&合并在一张A4上
  • 批量识别户口本、驾驶证等等的裁剪与合并

cropandcombine-idcard's People

Contributors

matin365 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.