You took that perfect photo at a popular tourist attraction, but only later did you notice that a hideous Dumpster appeared in the background. Rest assured, to “fix” the image you don’t need advanced knowledge or access to image editing programs like Photoshop, which has the Clone Stamp function.
It’s possible to remove an object or a person easily and for free with an online artificial intelligence (AI) tool that works similarly — albeit with a different function — to the background remover. Responsible for the “magical” operation is CleanUp.Pictures, an application based on a new method called large paint mask (LaMa) developed in Samsung’s AI lab.
The platform was created by the ClipDrop team, a fun augmented reality application that extracts objects from the real world and puts them into images on the computer. Best of all, it’s open source, allowing others to modify and improve the tool.
See how easy it is to use the platform to remove objects from photos.
1. Choose an image
An image with a free license for modification and use is a good start for testing the feature. (Source: Freepik/Reproduction)Source: Freepik/Reproduction
Before starting the process of removing people or objects, it is necessary to choose a photo. If your objective is to use the image in an internet publication, it is important to know if the author allows the modification and use. If you’re the photographer yourself, copyright obviously won’t be an issue; if not, look for free image banks that offer licensed photographs for free use, including alterations.
The tip also works for vector illustrations, which can serve as an alternative for the production of graphic material. A great site for this is Freepik, which offers millions of resources for creative projects and has many free options.
With the chosen image, just access the CleanUp.Pictures platform and upload the file. If you just want to test the feature, the tool itself offers some models.
2. Set brush size
Proper brush size makes it easy to remove unwanted object. (Source: Freepilk/CleanUp Pictures/Reproduction)Source: Freepilk/CleanUp Pictures/Reproduction
Locate the object or person you want to remove from the image. Once you have defined what will be removed, calibrate the brush size (brush, in English) to select only the unwanted piece of the image. This can be done simply and intuitively with the Brush Size feature by dragging the marble to the right, making the brush larger, or to the left, making the selection smaller. To check if the size is correct, just hover over the image.
3. Select the area to be removed
Let’s remove all red tomatoes from the image. (Source: Freepik/CleanUp Pictures/Reproduction)Source: Freepik/CleanUp Pictures/Reproduction
After calibrating the brush size, you can select the area to be removed from the image. To do this, place the mouse pointer over the spot and keep the left button pressed while “painting” the entire object or person you want to remove. Upon releasing the button, the platform will automatically begin to deselect.
You may not be able to properly select what you want to remove from the photograph, but don’t worry, you can go back in the action using the “Control + Z” command or by clicking the return arrow next to the Brush Size function. You can also select multiple areas and calibrate the brush size between one selection and another.
4. Compare with the original
A yellow line will show the difference between the original and modified image. (Source: Freepik/CleanUp Pictures/Reproduction)Source: Freepik/CleanUp Pictures/Reproduction
After erasing everything you wanted to remove from the photograph, you can compare the AI work with the original image. To do this, just click and keep the left button pressed over the Original function. If desired, click on the function and release the mouse button outside of it to keep the image as it was before without having to keep pressing. To disable viewing the original photograph, click on the function.
5. Download the new image
Not all ingredients appear in the final image. (Source: Freepik/CleanUp Pictures/Reproduction)Source: Freepik/CleanUp Pictures/Reproduction
With all objects or people removed from the photograph, you can download the new image to use it however you like. To repeat the process, just click on “Start New” in the top left corner of the site.
Keep in mind that this is a free tool and that the results may not be of a professional standard, especially if the image used has a lot of detail. Anyway, the platform has surprisingly good results. What’s more, it’s a fun and very easy-to-use tool.