Removing a background, step by step
Drop the picture, or paste it straight from the clipboard. If this is your first cut-out, the page shows the size of the model it needs and a time estimate for your connection, and waits for you to agree. After that it runs by itself.
The model draws a mask: a value between nought and one for every pixel, saying how much of it is subject. The page then cleans the soft edge of that mask, takes the old background colour out of the pixels that are part-transparent, and shows the result over a checkerboard. What you see is what the PNG will contain.
When the edge needs a hand
Open Refine edges. The Erase brush removes, the Restore brush brings back, and with smart edges on each stroke only changes pixels that are close in colour to the one under the centre of the brush. Run it along a shoulder against a pale wall and it takes the wall and leaves the shirt. Every stroke is recorded, so Undo steps back exactly, and the full-size file replays the same strokes at full size.
What this will not do well
- Transparent and reflective objects. A glass, a window or a pair of spectacles is either kept solid or dropped; the model does not produce partial transparency for glass.
- Groups where only one person should stay. The portrait model keeps every person it finds. Erase the others with the brush.
- Tiny subjects in a wide scene. A person who is a few dozen pixels tall in a landscape photo is below what the model sees clearly; crop closer first.