borderSize property
update edge pixel sampling radius, higher value means more gentle transition
but also need reources/time to handle
usually, there will be some green color remain on the pixels which at the junction of background and foreground
the sdk will take the average of nearby pixels as new pixel values to remove this remains
value range: 0,100
, default 1
Implementation
int borderSize = 1;