Human segmentation model only label skin

under node tfjs backend webgl, does anyone know why the selfie_segmentation/general model only label the skin, while the demo online is outputing good result.

image

Does this happen only on this image? Or all images? The blue on blue background may be causing some issues?

ahhhh… I forgot to normalized the tensor before prediction. Afterwards, its fine.

Ah classic. Glad you got it working now!