We have discussed how to convert Google’s Artificial Intelligence Speech To Text in our previous post.
Today I am going to show you how to generate image from text. You can type any combination of words in the program and it will render an abstract Image after many iterations Before giving the final output it creates hundreds of images and will proceed towards giving the final abstract image.
Open AI Library – Deep Daze:
Simple command-line tool for text to image generation using OpenAI’s CLIP and Siren. This library can generate images, sound, anything at will, with natural languages.
What is CLIP?
CLIP (Contrastive Language–Image Pre-training) builds on a large body of work on zero-shot transfer, natural language supervision, and multimodal learning. The idea of zero-data learning dates back over a decade but until recently was mostly studied in computer vision as a way of generalizing to unseen object categories.
Source: CLIP
I have tried a couple of examples e-g “Tiger In The Forest” and “Christmas tree next to fireplace” and below are the final outcome of abstract images.
With more memory in your system, you can get better-quality images.
Run the below program and enter your own image description or you can go to Deep Daze GitHub and click Google Colab to load the code in its IDE.
After many iterations, it was rendering different abstract images of ‘Tiger in the forest”.
let’s try with one more example “christmas tree next to fireplace”.
Conclusion:
Deep Daze library generates images, sound, anything at will, with natural language Artificial Intelligence.
Even a high-end graphics tool can take some time to generate these images.
Enjoy this library, thanks to this author/contributor and contribute to our Artificial Intelligence community.
Read blogs on Artificial Intelligence, Deep Learning, Machine Learning and Design Thinking articles:
Translate 125 Plus Languages Using Google Artificial Intelligence – Part 2
Translate 125 Plus Languages Using Google Artificial Intelligence – Part 1
Thinking Humanly: The cognitive modeling approach – Artificial Intelligence
AI Talkbot Personal Assistant Using Neural Networks and NLP
Predict Customer SO Price Using ML Supervised Learning: Expectations vs. Reality
Leave A Comment