Skip to content
FileMyLove

Remove People or Objects from Photos Cleanly: How to Paint for the Best Result

Remove passers-by, wires or litter from photos with AI on your own device: how to paint for a clean fill, what removes easily and when results look unnatural.

By FileMyLove team1 min read

Remove Objects from Photos lets you paint over what you don't want, and AI builds new background in its place. It works best on small to medium things in front of plain or repeating backgrounds, such as sky, walls, roads or grass.

What the tool uses

We use MI-GAN from Picsart AI Research, published at ICCV 2023. Its project page says it is about ten times smaller and faster than recent state-of-the-art methods, which makes it suitable for phones. The version we use was trained on the Places2 scene dataset, so it is better at scenery and backgrounds than at faces.

Everything runs in your browser and your photo goes nowhere. The first time, the tool loads a ~28 MB model from our site.

How to paint for a clean result

  1. Cover the whole object, including its shadow and edges. Leftover edges or shadows are used as a pattern and come back as smudges.
  2. Work in parts. The MI-GAN page recommends small, incremental brush strokes when the area to fill is large: paint one part, erase, then the next.
  3. Still see traces? Erase again. Paint just the spot that isn't clean and erase once more.
  4. Compare before downloading. Show the original, and undo up to 5 steps.

What is hard to remove

Situation What usually happens
A large object filling almost half the photo The AI guesses a lot; the result looks blurry or repeated
A person overlapping other people There is no information for the hidden parts
Text or straight lines behind the object Lines may not join up exactly

This table comes from our own trials, not from research measurements.

Use it on photos you may edit

The tool suits your own photos, such as removing passers-by from travel shots or wires from product photos. Don't use it to remove watermarks or credits from other people's work.