how to generate anamorphosis with AI

It’s normal. It’s even wanted. We explain to you

More “Entertainment”

If you spend a lot (too much?) time on social media, you’ve probably seen this photo in recent days.

Close your eyes and then open them slightly.instagram

At first glance, they look like three teenagers drinking coffee, but closing their eyes and opening them slightly… Sweet Jesus Mary Joseph!

It’s an optical illusion. But we reassure you, it is not the work of God. There are anomalies like the car parked in the background or the hair of the girl on the right. IA, have you been there?

Apparently you should see Nicolas Cage there.

Yes. Artificial intelligence is behind these photos that are bound to make you cross-eyed at the end of the day. This is not new, we have been seeing more and more of it since last year. There are different sites like Illusion Diffusion or Davinci that allow you to create these illusions.

You again, Jesus?

You again, Jesus?

This is called an anamorphosis. Painters have used it for centuries. This is a technique where distorted images appear normal when viewed from a specific angle. The best known of these is probably that of the double portrait The ambassadors (1533) by Hans Halbein the Younger. At the feet of the two men is a strange shape, similar to a disproportionate bone. When we look at the work from the right side, this shape reveals itself to be a human skull, symbol of the fragility of Men during the Renaissance.

Do you see it?

Do you see it?wikipedia

Thanks to advances in AI, we can now create digital versions of anamorphic art by hiding messages or creating visual illusions.

Don't block for too long, you risk going cross-eyed.

Don’t block for too long, you risk going cross-eyed.x

How to create your own optical illusion?

Here’s a quick guide to help you create optical illusions from photos.

  • Find someone’s photo
  • Cut it into square
  • Remove colors
  • Fix the pattern with a tool (or by hand)
  • Accentuate dark and light areas

In the end, it should look like this:

Picture

Then, go to the Illusion Diffusion website.

(If you’re handy, you can also use the ControlNet tool in Stable Diffusion.)

With Illusion Diffusion, you upload your photo and…

Picture

screenshot illusion diffusion

  • At number 1, you adjust the strength of the illusion of your template.
  • In number 2, you enter the keywords for your image generator. In Roger Federer’s case, it was: “shoe factory, workshop, worker, sewing machines, humidity, vibrant atmosphere, hyperrealistic photo, Nikon.”

Here is the result:

Picture

Image: watson/ki-generiert mit stable diffusion

Of course, you can also be more malicious and make the image less easy to read by moving the cursor.

Chef Pierre-Pascal Clément was eliminated from the M6 ​​culinary TV show last March. Determined not to be impressed by this failure, he already has a well-crafted project, which should be rolled out in July, in his canton.

“He failed to sublimate the cheese platter,” wrote Freedom, a few hours after the elimination of the Friborg candidate on Top Chef. Pierre-Pascal Clément, PP Clément to his friends, was not going to let himself be defeated for so little. And the young chef from Glâne obviously had an idea tucked away in the back of his mind. A restaurant? Obviously. But where? What? Under what name? With whom? And when?

-

-

PREV Guillaume Meurice suspended from France Inter
NEXT The University of Lausanne in turn occupied by pro-Palestinian students