All Projects → airob0t → Idcardgenerator

airob0t / Idcardgenerator

Licence: gpl-3.0
身份证图片生成工具 generate an id card picture

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Idcardgenerator

Dataaugmentationforobjectdetection
Data Augmentation For Object Detection
Stars: ✭ 812 (-5.8%)
Mutual labels:  opencv
Neuralsuperresolution
Real-time video quality improvement for applications such as video-chat using Perceptual Losses
Stars: ✭ 18 (-97.91%)
Mutual labels:  opencv
Brfv4 mac examples
macOS C++ examples utilizing OpenCV for camera access and drawing the face tracking results.
Stars: ✭ 25 (-97.1%)
Mutual labels:  opencv
V4l2loopback cpp
v4l2loopback usage in C++ and from OpenCV
Stars: ✭ 6 (-99.3%)
Mutual labels:  opencv
Computer Vision
Computer vision exercise with Python and OpenCV.
Stars: ✭ 17 (-98.03%)
Mutual labels:  opencv
Mocr
Meaningful Optical Character Recognition from identity cards with Deep Learning.
Stars: ✭ 19 (-97.8%)
Mutual labels:  opencv
Opencv contrib
Repository for OpenCV's extra modules
Stars: ✭ 7,085 (+721.93%)
Mutual labels:  opencv
Facerec Lock
Face recognition to control servo lock using Raspberry Pi and OpenCV
Stars: ✭ 7 (-99.19%)
Mutual labels:  opencv
Multi Threading Camera Stream
Multi-threading camera stream to improve video processing performance
Stars: ✭ 18 (-97.91%)
Mutual labels:  opencv
Pytesseractid
使用 pytesseract ocr 识别 18 位身份证号
Stars: ✭ 23 (-97.33%)
Mutual labels:  opencv
Vivalasvenus
@viva_las_venus -- This project is to learn, teach and awareness about privacy and security in the digital life, to build a better, more open and more inclusive world together!
Stars: ✭ 16 (-98.14%)
Mutual labels:  opencv
Road Detection And Tracking
Involves the OpenCV based C++ implementation to detect and track roads for almost realtime performance
Stars: ✭ 17 (-98.03%)
Mutual labels:  opencv
Ncappzoo
Contains examples for the Movidius Neural Compute Stick.
Stars: ✭ 902 (+4.64%)
Mutual labels:  opencv
Facepixeler
A simple C# program that can automatically detect and blur faces in images. Uses OpenCV and EmguCV.
Stars: ✭ 5 (-99.42%)
Mutual labels:  opencv
Jpegrtspcamera
Sample RTSP server streaming MJPEG video from PC camera
Stars: ✭ 25 (-97.1%)
Mutual labels:  opencv
Quickdraw
Implementation of Quickdraw - an online game developed by Google
Stars: ✭ 805 (-6.61%)
Mutual labels:  opencv
Prlib
Pre-Recognition Library - library with algorithms for improving OCR quality.
Stars: ✭ 18 (-97.91%)
Mutual labels:  opencv
Hadoop Pot
A scalable Apache Hadoop-based implementation of the Pooled Time Series video similarity algorithm based on M. Ryoo et al paper CVPR 2015.
Stars: ✭ 8 (-99.07%)
Mutual labels:  opencv
Camodet
Lightweight Simple CAmera MOtion DETection application.
Stars: ✭ 26 (-96.98%)
Mutual labels:  opencv
Skydetector
A Python implementation of Sky Region Detection in a Single Image for Autonomous Ground Robot Navigation (Shen and Wang, 2013)
Stars: ✭ 23 (-97.33%)
Mutual labels:  opencv

idcardgenerator

【仅做研究使用,请遵守当地法律法规,法律后果自负】

身份证图片生成工具,填入信息,选择一张头像图片,即可生成黑白和彩色身份证图片。

可以选择是否自动抠图,自动抠图目前仅支持纯色背景,对自动抠图效果不满意可以手动抠图。

在线抠图地址:(https://burner.bonanza.com/)

(https://www.gaoding.com/koutu)

更新:

  • 自动改变头像大小
  • 自动从纯色背景中抠图
  • 支持pip安装

ToDo

  • 自动从复杂背景下抠图

环境

  • numpy
  • pillow
  • opencv

下载

pip安装

pip install idcardgenerator

from idcardgenerator import gui
gui.run()

文件会生成在运行目录

Windows

下载

Mac

下载

打包程序

安装pyinstaller

pip install pyinstaller

Mac打包(打包成Mac app尚有问题未解决)

pyinstaller -i usedres/ico.icns --windowed --clean --noconfirm --onefile --add-data ./usedres:./usedres idcardgenerator.py

Windows打包

pyinstaller -i usedres/ico.ico --windowed --clean --noconfirm --onefile --add-data "usedres;usedres" idcardgenerator.py

参照标准:

正面

  左上角为国徽,用红色油墨印刷;其右侧为证件名称“中华人民共和国居民身份证”,分上下两排排列,其中上排的“中华人民共和国”为4号宋体字,下排的“居民身份证”为2号宋体字;“签发机关”、“有效期限”为6号加粗黑体字;签发机关登记项采用,“xx市公安局”;有效期限采用“xxxx.xx-xxxx.xx.xx”格式,使用5号黑体字印刷,全部用黑色油墨印刷。

背面

  “姓名”、“性别”、“民族”、“出生年月日”、“住址”、“公民身份号码”为6号黑体字,用蓝色油墨印刷;登记项目中的姓名项用5号黑体字印刷;其他项目则用小5号黑体字印刷;出生年月日 方正黑体简体字符大小:姓名+号码(11点)其他(9点)字符间距(AV):号码(50)字符行距:住址(12点);身份证号码字体 OCR-B 10 BT 文字 华文细黑。

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