How to detect human clothes?

I am doing the project where I need to detect human clothes and replace them with clothes of another person. After research I came to know that image segmentation would we good approach for this task.

But in segmentation, the whole human body is segmented whereas I need to segment only clothes. Any methodt solve this? or I need to make my own dataset with annotated clothes to do that?

I assume you’re trying to achieve ‘virtual dressing room’ scenario, for which you need segment out background, estimate human pose, and overlay it with new dress. check out some recent papers on ‘pose estimation’ there seem to be a lot of progress in that direction recently.