Create Optical Illusions using Artificial Intelligence!

Published: 21 May 2024
on channel: Playful Technology
4,168
117

In this video I'll explain how to use generative A.I. to create optical illusion images (also known as ambigrams, or anamorphic images), which can be made to resemble different subjects depending on how they are viewed.
All software is freely-available and can be run via a Python script on your own desktop PC - no licence or server subscription required!

I'll be using Stability AI's Deepfloyd IF model (published at https://huggingface.co/DeepFloyd/IF-I...) to diffuse multiple views of the same image, based on different prompts, and different specified transformations, in parallel.
For example, you could generate an image that looked like a pigeon but at the same time, when flipped upside-down, looked like a rabbit and, when the colours were negated, looked like a map of Europe (maybe!).

All code used in this video is available here: https://github.com/playfultechnology/...

Based on the method described in the research paper published here: https://arxiv.org/abs/2311.17919 and associated code at https://github.com/dangeng/visual_ana...


On this page of the site you can watch the video online Create Optical Illusions using Artificial Intelligence! with a duration of hours minute second in good quality, which was uploaded by the user Playful Technology 21 May 2024, share the link with friends and acquaintances, this video has already been watched 4,168 times on youtube and it was liked by 117 viewers. Enjoy your viewing!