Code Monkey home page Code Monkey logo

fake_certificate_generator's Introduction

fake certificate generator

A simple code for generating fake certificate,academic research only

envioriment

pip install -r requirements.txt 

if no pip module found on your machine,you should install one first

usage

  • generate idcard image
python gen_idcard.py

image

  • generate vehicle license
python gen_vehicle_license.py

image

  • generate driving license
python gen_driving_license.py

image

  • generate business license
python gen_business_license.py

image

  • generate image with given text
python gen_text_line.py

image
if no error occurs,you can see the result in res dir ,otherwise you should change the line

_, contours, _= cv2.findContours(binary, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE)

to

contours, _= cv2.findContours(binary, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE)

fake_certificate_generator's People

Contributors

deep-practice avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fake_certificate_generator's Issues

idcard can not run

image

Traceback (most recent call last):
File "/Users/apple/Downloads/fake_certificate_generator-master/gen_idcard.py", line 130, in
generator(idcard, name_font, other_font, bdate_font, id_font,idcard_empty_path,
File "/Users/apple/Downloads/fake_certificate_generator-master/gen_idcard.py", line 89, in generator
contours.sort(key=cv2.contourArea, reverse=True)
AttributeError: 'tuple' object has no attribute 'sort'

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.