First, the user's webcam is used to get the dimensions that would appropriately fit their screen. Next, these dimensions are set to those of a blank canvas that is then created with the set dimensions. After, the TensorflowJS model plots points on the user's body which is then used for body segmentation and color seperation.
Here are some examples of the Body Segmentation.
Here is another example with more body parts.
- React(JSX & HTML/CSS components)
- TensorflowJS(Model)