MATLAB is a versatile tool that can automate many tasks. Presented here is a MATLAB code to generate certificates for workshops, conferences, symposiums, etc. Conventionally, educational institutions and companies use specialised tools for report cards and certificates generation on a large scale. This MATLAB code can be extended to generate analysis reports for large data sets as well.
Overview
The Automatic Certificate Generation project overview is shown in Fig. 1. File name of the blank certificate (A) is used as input in the code. Details to be written on the certificate are obtained from an Excel sheet (B). The data is written over the blank certificate and many such certificates are generated by the MATLAB code (C). The certificates generated by the program can be saved in a folder with a unique file name (D).
Description
The three major steps involved in this project are shown in Fig. 2. Base image can be in any colour and should be in tif, jpg or png format. The image generated by the program retains properties of the base image. Source code given here only inserts text on the image. Data to be written can be in either .xls or .xlsx format. MS Excel is preferred as it’s a powerful mathematical and statistical tool. It allows data to be internally computed and analysed within the file.
The position at which text is to be inserted can be identified using simple image editor tools such as MS Paint and Picture Manager. Pixels or picture elements are the most basic elements of an image. An image of 1024×768 resolution contains 786,432 pixels or nearly 0.79 megapixels. Pixel positions to be identified are as many as the number of texts and numbers to be inserted on the image. The project code can be very easily manipulated for similar image processing tasks.
The generated MATLAB figures or images can be saved into separate files or a single file as per requirement. By default, the code saves the generated image in .tif format with a unique name. With simple code modifications, images can also be ported to a PDF file.
Working environment
Fig. 3 shows folder contents of the MATLAB working directory. MainCode.m, Certificate_Blank.tif and Registration_Details.xls files should be saved in the same folder.
MainCode.m is the MATLAB M-file containing the main code, Certificate_Blank.tif is the base image, and Certificate_Topic from 1 through 6 are certificates generated from the data in Registration_Details.xls. While running M-file, MATLAB should be permitted to change directory to the location where the main folder is saved.
Future scope
Analysis and presentation of large data sets is a tedious task in applications such as Big Data, IoT and sensors-actuators modelling. The project presented here can be extended and customised for analysis and reports generation in these applications.
Download source folder
This project was first published on 1 May 2018 and was updated on 7 April 2020.
Very interesting project. To do this, The Computer Vision System Toolbox must be licensed and installed.. Is it possible to get this toolbox for free or do it could be replaced with a different toolbox? Thanks.
Please tell me this how to create privacy policy in this project certificate generator using matlab
please send me the code for this
The Source code is present at the end of the page.
please send me the code for this project
Hi Josna, the source code is present at the end of the article.
Sorry can you send to me that code
Sent via email
what is the procedure to send these generated certificate files through mails?
Can you suggest me some software projects for btech final year ece
Hi Thanushya, please check Hand-Picked ECE Projects You Must Try
I need this software with the facility of QR code verification, please arrange a demo session.
We do not have QR code verification project right now.
Please, send me the code for this project.
Hi, we were facing some issues earlier with the Source page. Kindly refresh the page and retry.
Please send the code
Kindly refresh the page and retry.