preloader

Verbose DaVinci

illustrations illustrations illustrations illustrations illustrations illustrations illustrations
Verbose DaVinci

Date

Jan 24, 2021

Categories

Programming

Project Description

For the spring 2021 hackathon at WPI, organized by Major League Hacking (MLH), my team created Verbose DaVinci in under 24 hours. Verbose DaVinci allows you to create high quality images from any text you like, in the shape of a picture. The idea for this project originally came from seeing a product a few years ago that designed works of art that are visually comprised of classic texts. This display form really spoke to me, and I wanted to create a tool that allows people to create their own text-pictures. I plan to use this tool to create posters of my robots or projects, where the pictures are made of the source code of the project.

How Does it Work?

Verbose DaVinci is a static website hosted on GitHub pages, programmed in HTML and JavaScript using OpenCV. After a user uploads their photo it is processed using OpenCV to reduce the amount of colors in the image for a better text result. Following the color reduction, the “useable” area of the picture (i.e. not white or transparent) is calculated and each character is placed on the image following the natural reading direction. Upload your own photo, insert your own text, and click “Generate” to try it out!