Automatically generates certificate image based on attendee names provided (reads from CSV file), and contains script that will automatically send the generated certificate to intended recipients using Outlook Application.
Certificate Image Template created by: https://github.com/mindofai
$ conda env create -n image_autogen -f environment.yml
$ activate image_autogen
Make sure that you update the script settings from main.py based on your needs:
isDebug = True # Setting this into True will prevent the script to send the actual email to intended recipients
attendee_list = csvr.read_csv("src/csv/ListOfAttendees-Test.csv")
template_path = "src/template/example-template.png" # Specify email template path
imageWxH = (1360, 1024)
font = cv2.FONT_HERSHEY_SIMPLEX
fontScale = 2
fontColor = (0,0,0) # Black
lineType = 2