Cloth segmentation to segment clothes

MLBoy
2 min readFeb 21, 2022

--

It is a method to detect and separate only the area of ​​clothes in the image.

We want to make an application for clothes

We can create various applications by segmenting clothes such as fashion EC and fitting apps.

Detecting clothing areas with machine learning

Semantic segmentation can be used to automatically detect clothing areas.

You can easily execute it in Python using the following model.

Also, by using the model converted to CoreML format, it can be executed on iOS and MacOS devices and can be applied to iOS apps.

Method

Python

From installation to execution, Colab is available.

When executing from an inference file.

If you just want to try it, there is also a web app available.

Swift

To run on iOS, download the CoreML model from CoreML-Models and bundle it with your project.

Good accuracy

The accuracy is quite good, so it seems that you can create a convenient application.

🐣

I’m a freelance engineer.
Work consultation
Please feel free to contact us with a brief development description.
rockyshikoku@gmail.com

I am making an app that uses Core ML and ARKit.
We send machine learning / AR related information.

GitHub

Twitter
Medium

--

--