A near-white sweater against a near-white backdrop sounds like the case where a segmentation model gives up. A natural guess is that the two colours blur together and the model cannot tell cloth from wall. In this test that guess did not hold. At the lowest contrast, three browser-side models and two open-source ones all kept over 99.6% of the sweater. What removed the sweater was two steps that look only at colour.

The test image is synthetic, so the claim stays small. It takes the outline of a CC0 portrait, "Always smile" by michael m_minimal on Wikimedia Commons, paints the background RGB(245,245,245) and changes only the lightness of the sweater. The colour distance from the backdrop (ΔE76, in CIE Lab) is about 2, 5, 10, 20 and 40; in CIEDE2000 the same five are 1.26 / 2.98 / 6.20 / 12.95 / 28.68. At ΔE≈2 the sweater differs from the wall by 6 on each RGB channel. Every method ran once on one Apple-silicon Mac. The fast, pro and ultimate models, an edge flood-fill remover and a defringe switch come from ImgIng https://imging.ai/ , and rembg (u2net and u2net_human_seg, default parameters) is the open-source reference.

Counting sweater pixels that came out transparent

"Judged transparent" below means alpha under 128. The sweater mask has 428,302 pixels. The snippet reads the alpha channel of the fast model's default output at each level and counts only the pixels inside that mask.

import numpy as np # masks and alpha stats from PIL import Image # read the cutouts m = np.load("mask.npz")["sweater"] # True = sweater pixel print("sweater pixels", m.sum()) for dE in [2, 5, 10, 20, 40]: a = np.array(Image.open(f"cut-dE{dE}.png"))[..., 3][m] print(f"dE~{dE:>2} a<128: {100*(a<128).mean():6.2f}% a=0: {100*(a==0).mean():6.2f}% mean a {a.mean():6.1f}") 

The original script printed its labels in Chinese; the snippet above has them translated, and the numbers are the real output. The table keeps every row and column, and the line printed before them was 428302 sweater pixels.

ΔE≈ a<128 a=0 mean a
2 0.19% 0.00% 253.9
5 0.13% 0.00% 254.1
10 0.06% 0.00% 254.3
20 0.03% 0.00% 254.4
40 0.02% 0.00% 254.4

Lower contrast did not push the sweater into the background. Even at ΔE≈2 the fast model lost 0.19% of it. The other models at the same level: pro 0.34%, ultimate 0.15%, rembg u2net 0.24%, u2net_human_seg 0.26%. The worst of those leaves 99.66% of the sweater (100 minus 0.34, computed), which is where "over 99.6%" comes from.

Colour-only steps removed most of the sweater

Two steps behaved differently. The edge flood-fill remover, run with its default settings, deletes background-coloured pixels that connect to the image border. On this image it removed 99.92%, 99.56% and 93.33% of the sweater at ΔE≈2, 5 and 10, then only 0.39% and 0.36% at ΔE≈20 and 40. The likely reason (an inference) is that the sweater touches the bottom edge of the frame, so near the backdrop's colour it joins the border region and goes with it.

The other step is the "remove background fringe" switch, which is off by default. With it on, the three models turned 92.55% (fast), 92.30% (pro) and 92.16% (ultimate) of the sweater fully transparent at ΔE≈2, and 73.71% / 73.52% / 73.31% at ΔE≈5. From ΔE≈10 up it left the sweater interior alone, with at most 1.04% transparent. Three different models landing on almost the same numbers hints that the step judges each pixel by its colour against the backdrop, whichever model drew the mask. That is an inference; nothing inside the step was inspected.

Sweater pixels judged transparent by method and colour distance

Look at the first two groups of bars. At ΔE≈2 and 5 the red, orange and purple bars (flood fill and the two defringe runs) are tall while the blue, green and grey ones (the models) are close to zero. At ΔE≈10 only the red bar stands up, and from ΔE≈20 every bar is near zero. The legend calls the fast and ultimate models Quick AI and Ultimate AI. The chart labels are rounded to whole percents, so 99.92% and 99.56% both read as 100, and the pro model is left out of the chart for space. The sample and its CC0 source are the ones described above.

The models did make small mistakes at the outline

Nothing in the table says the models were perfect. Their errors sat in a thin band within 8 px of the sweater outline, 10,097 pixels, about 2.4% of the sweater (computed from 10,097 and 428,302). In that band the fast model's transparent share went from 0.93% at ΔE≈40 to 8.27% at ΔE≈2, roughly nine times (computed from those two numbers), and rembg u2net went from 0.80% to 10.02%. The reference outline came from the ultimate model run on the original photo, which favours that model, so the pro model's band numbers are left out and none of this is a ranking.

Every setup left 0.00–0.06% of the real background behind. So in this image the only kind of mistake was deleting part of the person, not leaving wall in the picture.

Two things this test did not explain. The pro model's whole-sweater loss rose slightly with contrast, from 0.34% at ΔE≈2 to 0.64% at ΔE≈40, and the cause was not checked. And the scope is narrow: one person, one sweater, one backdrop colour, lightness differences only. Colour differences in hue and a plain white shirt were not tested.

To see whether a result on another photo matches, the same few lines work on its alpha channel once a sweater mask exists. If the share under 128 is large for a pale garment, check whether a defringe or border-connected background remover ran before blaming the model.