Skip to content

sbatirov/automatic-certificate-generator

 
 

Repository files navigation

Automatic Certificate Generator

Introduction

Image

This simple Python prototype tackles the age-old productivity challenge of automating mundane tasks by generating certificates automatically from a given list of names. By eliminating the need for manual entry of certificate holder names, this script streamlines the process and frees up valuable time for more meaningful work.

At its core, this script leverages Python and OpenCV to achieve its objective. The logic is straightforward: it utilizes a certificate template and dynamically populates it with names from the provided list, generating multiple certificates in a fraction of the time it would take to do so manually.

With its intuitive design and efficient execution, this script exemplifies the power of automation in enhancing productivity and efficiency in various domains. Whether used in educational institutions, corporate settings, or organizational events, this prototype offers a simple yet effective solution to a common productivity bottleneck.

Technology and Framework

  • Python 3.8
  • OpenCV

Why OpenCV?

We use OpenCV to write text on the certificate templates, OpenCV is a popular framework for computer vision.

How to use it?

Step 01: Enter the name list of certificate holders in the "name-data.txt" file.

Image

Step 02: Choose a certificate template

Image

Step 03: Get the X1, Y1 coordinates, to get the X1, Y1 coordinates, use windows print application that is free and easy. To do that, open the print and load the template in it. An example is shown bellow.

Image

Note In the bottom of the paint application, it will show the X1, Y1 coordinates.

Step 04: Enter the X1, Y1 coordinates in "run.py" script, to do that open the "run.py" in a text editor and, edit the X1, Y1 coordinates that is found on the code line number of 22.

Image

Step 05: Finally, execute the "run.py" script to get the outputs. In the "generated-certificates" folder all the generated certificates will be stored.

python run.py

Generated certificates

Image

Sample Certificate

Image

To execute the program run the following command.

python run.py

Contact

Website:

Visit

Social Media:

LinkedIn Facebook WhatsApp Instagram X.COM Kaggle TikTok YouTube

About

A simple image processing tool for generating certificates with name list.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%