An application of image segmentation on iOS with U-Net. The format of the model is converted from PyTorch to Core ML.
Segment the hair from the image with U-Net.
Original image | Segmented image |
---|---|
Original image | Segmented image |
---|---|
-
Create a repo of PyTorch model.
-
Dye the hair with OpenCV.
-
Face segmentation.
-
Backgound segmentation.
[1] MobileNetV2
[2] U-Net