Calligram- E

CALLIGRAM- E is my final project for CS50 with Python course from Harvard.

You may have seen reels or shorts where they draw a person with just their name by writing it over and over. I saw that and thought, it would be hard for me to draw that. Cause I can’t draw people, any realistic image, for that matter. I would be okay with outlines but other things, no.

So I thought it would be cool if I could do that. I always had this idea.

But I got to implement it for this final project submission. It took me three months. Though I haven’t been entirely working those three months, it should be maybe 45 to 60 days.

I used OpenCV, PILLOW, and NUMPY as the main libraries. Basically, the user provides an image as input and the output is a calligram image.

You can give a name or some text or even shapes to make a calligram. I will add the YouTube video, check it out.

I had many problems with this code. Because for a long time, it has to be wrapped so it wouldn’t be displayed half. I haven’t yet managed to do that perfectly. SIGH.

The next thing was that I managed to do a grayscale version. And when I was looking in Google search results, I happened to see an awesome project where the creator made a picture in book text. It was Alice in Wonderland. It looked so cool.

So I added the long text function.

And the color part too because only grayscale didn’t seem cool.

The color version is lighter than the original because I had to add it to the modified one. I hope I can find a breakthrough again. Because I was hoping to make a website.

What do you say?

I will add the output videos later. They are on my Instagram profile and YouTube too. You can check it out if you wish. I will add those in my later posts.

And if you want an image like this, I can make it. Hope it looks cool!!!

Keep smiling.

Leave a comment

Discover more from Musing and Realizing

Subscribe now to keep reading and get access to the full archive.

Continue reading