# Remove Objects from Photos

> Paint away people, text, bins or power lines in your photos. The tool fills the spot to match its surroundings.

- Open in browser: https://pockettoolbox.org/en/object-remover
- Runs entirely in your browser; files and input are never uploaded.

## How it works

Paints away distracting things in photos and fills the gap to match.

Drop a photo and paint over what should go, ideally with a little margin. When you let go, a neural network fills the spot with what could be behind it: sky, grass, wall, pavement. You can do several spots one after another, and every step can be undone. Hold “Show original” to compare with the starting image.

MI-GAN by Picsart AI Research (MIT license), trained on Places2, as a 13 MB ONNX model. It runs with ONNX Runtime Web in a Web Worker, on WebGPU when a graphics card is available, otherwise as WebAssembly. For each mark a square crop with plenty of surroundings is brought to 512 × 512 pixels, filled and placed back into the image with a soft edge. The rest of the photo stays pixel for pixel unchanged.

## FAQ

### What works well and what does not?

Good: things in front of even backgrounds like sky, water, lawn, sand or walls, also text, cables and small people in the background. Hard: large areas in the middle of a pattern, faces, or objects that hide something very specific. Then it helps to paint in several small steps.

### Why does the spot get a bit softer in large photos?

The model works at 512 × 512 pixels. With large marks in high-resolution photos the filled part is therefore scaled up. Smaller marks keep more detail.

### Can I use it to remove watermarks?

On your own photos, yes. Removing watermarks from other people’s images usually infringes the photographer’s copyright.

## Popular tasks

- [Remove an Object from a Photo](https://pockettoolbox.org/en/remove-object-from-photo)

---
PocketToolbox (https://pockettoolbox.org/en)
