September 7, 2022
Machine Learning Scientist
Today we are launching our 💡image relighting AI application💡. The app allows you to apply professional lights to your images 📸 in real time ⚡️.
The features include:
With the app, you can transform your photos into extraordinary visuals. 🪄 💫 ✨
The lighting is of paramount importance when creating a photograph. It not only makes an image darker or brighter, but also drastically changes the mood and the emotion in the image. Position, color, and instensity of the light sources have a significant impact on how the subject in the image looks. For instance, in a portrait image, mixing multiple light sources having different colors can make the image more vibrant, whereas the image might look dull and unpleasant if the lighting condition is bad.
Here is another example relighted image by our image relighting AI application.
Ambient light enlightens each pixel equally. This light source is particularly useful to make the image darker (or brighter). Its color can be changed as well.
To modify the ambient light, click on Ambient button (right below the image) in the editor. To make the image brighter or darker move the slider to the right or to the left, respectively. You can change the ambient light color in real time by clicking on the color picker.
See below how drastic changes you can make by just playing with a slider and a color picker 🙂
Once placed over the image, it enlightens the pixels around. Its intensity gets smaller as you go away from the light source. The closest pixels get the maximum light, and the furthest pixels get the minimum light.
To add a new bulb simply click on + New Light button. To remove it, click on the trash bin icon. The eye icon on top-right hides / displays the lighting bulbs. The lighting-bulb icon next to the eye icon allows you to toggle between the original and the relighted images.
Each lighting bulb has four main parameters: color, intensity, distance, and radius. You can easily change the color by playing with the color picker. You can make the light source more or less intense by moving the slider next to the color picker.
The bottom-right slider determines the light radius. A bulb with a larger radius enlightens a larger area, whereas the one with a small radius illuminates a small part.
In order to make the enlightment physically correct, we perform instant 3D reconstruction. We allow the lighting bulbs to move in 3D space. You can move each lighting bulb to the left, to the right, towards and away from the image.
The app enlarges the circle around the bulb, as you move it from the image.
If you move the bulb towards the image, it might go inside the model. In this case, we make the part of the circle that is inside the model transparent. If the bulb is completely inside the model, the app makes it fully transparent.
A mix of two lights (maybe one on the left and another one on the right) oftentimes results in cool effects. My another favourite trick is reducing the ambient light, placing a single light bulb over the place I want to enlighten and reducing its radius.
You can keep or remove the background as well. If you opt for removing the background, it is automatically done by Clipdrop Background Remover. You can also choose the background to receive light or not. If you prefer to remove the background, you can choose its color.
Do not hesitate to relight your portrait by our app using different light and background colors.
One way to achieve this is to drop the distance for each light source close to zero. By doing so, we move the light sources towards the image.
You can get the cool 2 photos in the middle by placing a light bulb (or bulbs) very close to the image. Just set its distance to minimum (or close to the minimum value).
Do we make your image blurry? No.
However, we visualize the resized image in the app to be able to relight your image in real time. To obtain the relighted image with the highest quality, you need to download it.
Would you like to learn the technical details about how we have built this app? Check out our other blog post where we explain the technicalities behind the app.
Give it a try! It is free! No account or credit card is needed.
Do not hesitate to share with us any creative visuals you may have. Follow us on Twitter for the latest updates.