Hello! I’m Quinn Verrill, a Junior studying Mechanical Engineering at Olin College of Engineering.

[personal statement - levels of design and engineering]

This website is a portfolio of some engineering/design projects I’ve done for courses or for passion, as well as some artwork I’ve made. Feel free to use tags to filter project pages, or just scroll around! 


Email me
Resume
Instagram
Linkedin
Contact Card
About Me
Back

Font or Not

A MATLAB algorithm to distinguish between computer fonts and handwritten letters.


Project Overview

  • Course: Quantitative Engineering Analysis 1 (ENGX2000)
  • Project Prompt: "Create an algorithm using the principals of Eigenvectors, Eigenspaces, and Eigenvalues to identify differences in a dataset."
  • Timeframe: 4 weeks
  • Year: Fall 2023



Process


For my Quantitative Engineering Analysis 1 (ENGX2000) final project, I wanted to do something that solidified my understanding. I used the combined power of Principal Component Analysis and MATLAB to discern whether an image of a number of letter was generated by a font, or drawn by hand.

To achieve this, I utilized the TMNIST and MNIST datasets, which are commonly used to train machine learning algorithms that interpret longer strings of text. I then took both sets of image data, binarized the images, and created a combined training matrix and a test matrix, both composed of ‘image vectors’. 


Screenshot of binarized test image, visualized as a MATLAB plot

Using some MATLAB tricks, I projected the training matrix and the test matrix into the ‘eigenspace’ created by the first 20 eigenvectors of a matrix of training matrix. Inside this ‘eigenspace’, I compare the distances between each test image and each training image.

First Eigenvector of the training matrix, visualized as a
MATLAB Plot with the heatmap function.

With these distances, I used the following logic to classify test images: if a test image is closer to more training images that are fonts, then the test image is likely a font, and vise versa.

The final algorithm classified of characters with ~90% accuracy. 

After the technical work was done, I used Adobe Illustrator to make a poster to present my process and findings to my peers:


Final project poster created in Adobe Illustrator




Reflection


Through this project, I learned a lot about how to relate pieces of data to one another through mathematical processes. I now understand how to perform larger scale engineering analysis with much more complex data. Perhaps most importantly, this project energized me to learn more about math and how it relates to engineering


Updated January 2026