# Color Invariant Skin Segmentation This is the implementation of the paper [Color Invariant Skin Segmentation](https://openaccess.thecvf.com/content/CVPR2022W/FaDE-TCV/papers/Xu_Color_Invariant_Skin_Segmentation_CVPRW_2022_paper.pdf) using [FCN](https://github.com/yunlongdong/FCN-pytorch). Please, check the orignial repository for the details on the whole project. This fork is used to generate masks for PinPoint counterfactuals in-painting. # How to use After installing the environment using the guidelines from the original repository, and downloading the datasets, run the mask segmentation modules in the following order (ensuring that the paths to the datasets are correct): - person_segmentation.py - skin_segmentation.py - gen_final_masks.py ## Requirements - Python 3.8.5 - PyTorch - Tensorflow - Keras