Generate texts on your photos!
Jessica will quickly generate texts on your photos, much like word clouds, with the power of Python! Something like this:
- Python, of course. Not tested with Python 3, though. ๐
- Pillow. Install it with
sudo pip install pillow
if you havepip
.
- Cone the repository using
git clone http://github.com/naeem-hasan/jessica
. - Move to the directory with
cd jessica
. - Open a new Python file(E.G.
nano test.py
) andimport jessica
. - Make a Jessica object and customize stuff! Like this:
from jessica import Jessica
photo = Jessica("sample.jpg", "cute", "what a smile", "hot damn", "beautiful", "nyc lagca")
photo.repeat = True
photo.max_repeat = 10
photo.min_font_size = 30
photo.max_font_size = 80
photo.render_and_save("output.jpg")
This will produce a result like:
Sure! Look below.
Thank you! I'd love if you contributed!!