How to remove a sweat stain from a shirt in a video
Ask Vizard Agent to remove only the stain and name anything on the shirt that must survive. A stain is a patch of darker fabric that moves and stretches with the cloth, so the fix is a measured brightness correction inside a tight mask rather than a patch pasted over it.
What do you type into Vizard Agent?
Keep the scope tight in the words you use. Asking Vizard Agent to clean up the shirt invites a general tidy that flattens the fabric texture across the whole garment, whereas naming the stain keeps the correction inside the area that's actually wrong. Name any logo, print or seam that must survive.
Prompt
What does Vizard Agent actually do?
Replacing an area of fabric always looks like a patch, whereas lifting the darkness back to the tone of the cloth around it looks like the shirt. So Vizard Agent measures before it corrects, and tests approaches on single frames, where each rejection costs seconds rather than a render. In the session behind this article it:
- Sampled frames, inspected a full-resolution close-up of the printed shirt and built a reference frame and a candidate mask for the stain.
- Previewed a clean-shirt reconstruction and checked the logo stayed intact, then tested a tone-preserving correction that removes only the darkening.
- Tightened the mask so it stayed inside the shirt and stopped picking up the edge, which would show as a bright halo moving around the body.
- Measured the shirt's brightness inside and around the stain to tune the strength, tried matching the stain to the clean fabric beside it and quantified the remaining contrast in the centre.
- Tested a texture patch and a tight content-aware fill as alternatives, checking them for seams and folds, then tuned the final correction, confirmed it on a frame and applied it with the audio preserved.
- Reviewed the render at several moments for seams and motion consistency.
When does this not work well?
Some stains can't be corrected convincingly. A pattern running through the stained area, a very dark or strongly coloured mark, or fabric that changes shape dramatically from frame to frame all leave Vizard Agent with a correction that reads as a patch rather than cloth. Backlit shots and stains across a seam or logo are hard too.
Common questions
Will the fabric still look like fabric? Yes, if the correction is tone-based, which Vizard Agent tests first.
Can it handle a patterned shirt? Sometimes. Vizard Agent will tell you when the pattern cannot be rebuilt.
Can it protect a printed logo? Yes. Name it and Vizard Agent keeps the mask off it.