Closed futrime closed 4 years ago
BodyPix officially contains a mask function, which could straightly returns a mask of the image. How about using it instead?
I am already using Bodypix but the mask alone is not enough to make it robust.
Sorry for late comment but you can you alpha channel of the mask and canvas globalCompositeOperation to blend it without for loop
BodyPix officially contains a mask function, which could straightly returns a mask of the image. How about using it instead?