- Automated
- Professional
- Simple
Install
git clone https://github.com/Mishra-Manit/certificate-generator.git
Usage
Make sure to first add your own certificate template and then change the file path of the template in the code.
template = cv2.imread("globalcoderzclasscertificate.jpg")
Make sure to edit the names.txt file and add all the names you want on the certificates.
From there you can customize the font, font-size, and where the text should be placed.
cv2.putText(template, name, (569, 2447), cv2.FONT_HERSHEY_COMPLEX_SMALL, 15, (0, 0, 0), 15, cv2.LINE_AA)
Finally, run the run.py file and watch the completed certificates magically appear in the generated-certificated-data folder