Skip to content

drumichiro/selfie-segmentation-pytorch

Repository files navigation

MediaPipe Image Segmentation implemented in PyTorch

INTRODUCTION

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.

SAMPLES

Selfie Segmentation

Input Image Mask Image Masked Image
input_image mask_image masked_image
input_image mask_image masked_image

Image Segmentation

Input Image Segmentation Image
input_image masked_image
input_image masked_image
input_image masked_image

HOW TO TRY

Selfie Segmentation

  • $ python demo_selfie_segmentation.py

Image Segmentation

  • $ python demo_image_segmentation.py

Performance Measurement

  • $ python demo_webcam.py

REFERENCE

About

PyTorch implementation of Image Segmentation provided in MediaPipe.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages