Image · 7 min read

Remove an Object or Person from a Photo: What Works, What Doesn't, and Why

By the · Published

A stranger walking through a holiday shot, a bin next to a house front, a cable across the sky, a date stamp in the corner: removing something from a photo is one of the most common edits there is. Whether it works cleanly depends far less on the software than on what lies behind the object — and on how you mark it.

This guide explains in plain words how Toolula's Remove Objects fills a painted area, which kinds of picture give convincing results and which don't, how to paint the mask, and when cropping or replacing the background is the better choice. Remove Objects runs on your device and uses no AI model: there is nothing to download, and the photo is never uploaded.

How the fill works: patches from the photo itself

Remove Objects uses a method called PatchMatch, published in the image-processing literature long before generative AI. The area you paint is treated as a hole. For every small square of the hole — 7 × 7 pixels — the method searches the intact picture around it for the square that fits best with what surrounds the hole, starting from random guesses and spreading good matches to their neighbours. Where several matching squares overlap, they vote on the colour of each pixel.

This runs first on a much smaller copy of the area and then on larger and larger ones, up to full size. The small copies decide the large structure — where a horizon or the edge of a wall continues — and the larger ones fill in the texture. The result is made only of pieces of your own photo, rearranged. Nothing is invented: the fill can't contain a window, a face or a word that isn't already somewhere nearby.

The search looks at the area around your marking — about as far again in every direction as the marked area is large — not at the whole photo. Texture on the other side of the picture isn't used, so the right material has to be close to the object.

What works well

The common factor is a background that is similar all around the object and has no single, recognisable structure that must continue exactly.

  • Sky, clouds, haze and smooth gradients — little structure to continue.
  • Grass, sand, gravel, water surfaces, foliage seen from a distance and other irregular natural textures, where small repetitions go unnoticed.
  • Plain or evenly textured walls, plaster, asphalt and paving without a strong pattern.
  • Small things against such backgrounds: a person far away on a beach, a bird, a sign post, a power line, dust spots, a date stamp on a plain area.

What doesn't work — and why

Faces and bodies. If you remove something that covers part of a person, the fill can only borrow from what is next to the hole; it can't reconstruct an eye, a hand or the missing half of a face. Removing a whole person is fine against a simple background, but not when they overlap someone else.

Text and logos. Lettering behind the object can't be continued, because the method doesn't know the words; the result is a blur of letter fragments. Removing text that sits on a plain surface, on the other hand, usually works.

Strong regular structures. Tiled floors, brick bonds, fences, window rows, railings and striped fabric need every line to continue exactly in its place. The fill keeps big straight edges in place reasonably well, but repeating patterns often come out shifted, bent or doubled.

Large objects against complex scenes. A car in the middle of a busy street hides a lot of information — kerbs, shadows, other cars, shop fronts. The fill has to make up a large area from small pieces, and the eye notices the repetition. Larger areas are also worked on at a reduced size (the longest side of the working area is 640 px) and scaled back, so a big removal on a high-resolution photo can look a little softer than the sharp photo around it.

Step by step

In Remove Objects:

  • Drop a JPG, PNG, WebP or HEIC photo.
  • Set the Brush size (8 to 160 px) so that it is a bit wider than the object's edges.
  • Paint over the object, a little beyond its outline, including its shadow and reflection.
  • Press Remove. The area is filled in on your device; the progress is shown while it runs.
  • Turn on Compare to check the result against the original, then remove anything left with another pass.
  • Use Undo and Redo to step through fills, and Download to save the photo.

Masking tips that make the difference

Paint generously. Edges of an object blend into the background over a few pixels — anti-aliasing, motion blur, a faint halo from sharpening. If any of that stays outside the mask, the method copies it into the fill as a ghostly outline. A margin of a few pixels all around is better than a tight trace.

Don't forget shadows and reflections. A person removed from a beach leaves a dark shape on the sand unless the shadow is painted too; a boat leaves its reflection in the water.

Work in several smaller passes instead of one large one. Remove the top part of a large object, then the next part: each pass fills from the area around it, including what the last pass filled, and smaller areas stay at full resolution. The same helps for long thin objects such as cables — paint and remove them in sections.

If a fill takes texture from the wrong place, change the marking rather than pressing Remove again on the same area. The search is deterministic: the same marks on the same photo give the same result. A slightly different mask, or first removing a distracting element nearby, gives the search different material to work with.

When to crop, replace or extend instead

If the unwanted thing sits at the edge of the frame, cropping is cleaner than any fill: there is nothing to invent. Crop it away with Edit image, and if the crop makes the photo too tight, Extend image can add a new border around it; its content-aware fill uses the same patch method.

If you want to keep a person or product and lose everything behind it, don't paint the background away piece by piece. Change background cuts out the subject and puts it on a plain colour, a gradient, a blurred version of the photo or a picture of your own, which is a different job from removing a single object.

And for a busy scene with many people in front of a landmark, a single photo often doesn't contain enough clean background. Taking several shots from the same position a few seconds apart and choosing the one with the fewest people, or removing the remaining ones, works better than asking any fill to recreate a hidden facade.

Saving the result

PNG and WebP photos are saved in their own format; JPG, HEIC and other inputs are saved as JPG at high quality. The file is written from the edited picture, so camera metadata such as location is not carried over — useful when you share the photo, but keep the original if you need its date and place. Once something is removed, the tool also offers next steps such as compressing or resizing, and hands the edited photo over without a new upload.

Being honest about the result

A filled area is a plausible guess, not a recovery of what was really there. That is fine for a holiday photo, but it matters elsewhere: don't remove objects from photos that serve as evidence or documentation — damage reports, rental handovers, listings that must show the real condition — and don't present an edited product or property photo as unedited. When a picture is shared for its content rather than its look, say that it was retouched.

Frequently asked questions

Does Remove Objects use AI?

No. It uses PatchMatch, a classical method that fills the painted area with patches from the surrounding photo. There is no model to download and nothing is sent to a server.

Why does the filled area look blurry or repeated?

The area was large or the background has a strong structure. Remove it in smaller passes, include the object's edges and shadow in the mask, or crop instead.

Can I remove a person who overlaps another person?

Not convincingly. The fill can only reuse nearby texture and can't rebuild a missing face or body. It works for people standing against sky, sand, grass or a plain wall.

Does the photo lose quality?

Pixels outside the painted area are unchanged. JPG photos are saved again as JPG at high quality, which is one more compression step; PNG stays lossless.

Is my photo uploaded?

No. The photo is read, filled and saved inside your browser tab.

How this guide is kept current: it is checked against the official sources it cites and against the Toolula tools it describes, and revised when a rule, deadline or tool changes. The date above shows the last revision.

Remove objects from a photo