This is a PyTorch implementation of MediaPipe Image Segmentation. You can see the network structure through the PyTorch scripts that are helpful to grasp it easily, I believe.
Input Image | Mask Image | Masked Image |
---|---|---|
Input Image | Segmentation Image |
---|---|
$ python demo_selfie_segmentation.py
$ python demo_image_segmentation.py
$ python demo_webcam.py