How to Erase a Person from a Photo
Updated
To erase a person from a photo, use an AI image eraser: brush over the person, including their edges and any shadow they cast, then click Erase and let the tool fill the gap with background. This works best when the background behind the person is fairly even — sky, grass, walls, or pavement — and when the original photo is sharp enough that the fill has real texture to copy. On HAMA, the process is described as brushing over the part you want to remove and clicking Erase, with results in about 5 seconds.
Step-by-step: removing a person
- Upload or open the photo. Use the highest-resolution version you have. A low-resolution source gives the AI less detail to rebuild the background with.
- Brush over the person. Cover the whole figure, not just the torso. Include:
- Hair edges and stray strands
- Feet and the ground contact point
- Any shadow or reflection the person casts
- Anything they hold that you also want gone
- Keep the selection tight. Overshooting into clean background forces the tool to invent texture it didn't need to, which is a common cause of smudges.
- Click Erase. The tool fills the selected area by generating background that matches the surrounding pixels.
- Zoom in and check the seam. Look at the boundary between original background and generated fill. Repeated patterns (bricks, fences, ripples) and straight lines (horizons, railings) are where errors show first.
- Re-brush and erase again if needed. A second pass over a small problem area usually cleans up a rough edge better than one large selection.
- Export once the fill looks continuous at 100% zoom.
What makes a clean erase
| Situation | Why it works or fails | What to do |
|---|---|---|
| Person against sky, water, or plain wall | Background is predictable, so the fill blends easily | One pass is often enough |
| Person against grass, gravel, or foliage | Texture is random but repetitive, so the AI can copy it | Check for visible tiling or repeated clumps |
| Person overlapping a straight edge (horizon, doorframe, railing) | The fill can bend or break the line | Erase in smaller sections and re-check the line |
| Person casting a long shadow | Leftover shadow looks like a ghost | Include the shadow in the selection |
| Person partially behind another object | The tool must rebuild both the object edge and the background | Expect to do a second, smaller pass |
| Very low-resolution or heavily compressed photo | Little detail to sample; fill looks soft or blocky | Use a better source image if one exists |
Common reasons an erase looks wrong
- Selection too large. Covering extra background gives the tool more area to guess at. Brush just the person plus a thin margin.
- Background too busy. Complex, irregular backgrounds (crowds, tangled branches) give the fill conflicting information, so results look muddy.
- Shadow left behind. The person is gone but a dark patch remains, which reads as an obvious edit.
- Original resolution too low. If the person is only a few dozen pixels wide, there isn't enough surrounding detail to reconstruct what was behind them.
- Hard edges ignored. Hair, fingers, and thin straps are easy to miss with a brush; zoom in before erasing so you don't leave fragments.
Before you export
Zoom to 100% and scan the edited area for:
- Repeated texture that looks stamped
- Blurred patches that don't match surrounding sharpness
- Broken straight lines
- Leftover fragments of the person at the edges
If you find any, make one more small selection over just that spot and erase again. Small, targeted passes generally beat redoing the whole removal.
HAMA's AI image eraser is built for this kind of removal — people, objects, text, logos, and watermarks — using a brush-and-erase flow rather than manual cloning.