How to Remove People from the Background of a Photo
If you need to remove people from the background of a photo, the hardest part is not deleting the person - it is preserving the main subject and rebuilding the background naturally. Travel photos, street shots, and real-estate images often only need the background cleaned up, not a full retouch.
A detect-first workflow is useful here because it helps you find passersby and smaller distant figures quickly. After detection, brush refinement matters most around hair, shadows, feet, and any area where the background person overlaps the subject or important edges.
For the most natural result, remove the largest distraction first, then smaller people one at a time. That gives the fill model more context and usually avoids the smeared textures that appear when too much of the scene is erased in one pass.