Skip to content

VinayN18/Acne-Detection-And-Removal

Repository files navigation

Acne-Detection-And-Removal

Computer Vision Final Project Repository

Problem Statement

One of the most common skin conditions, acne, affects most people at some point in their lives. But in the present era, society values having healthy, attractive skin, thus many individuals utilise various applications/filters to digitally erase pimples from their photos before sharing them on social media. Thus, we have used computer vision techniques to create a pipeline that helps detect and remove acne from their photographs. To achieve this, several techniques have been used, such as thresholding, masking, blurring, etc.

Dataset

We’ve used the Custom Dataset for this project. The dataset contains facial images and their corresponding masks are available. It consists of 30 images and corresponding acne masks. The Dataset and its related files are available in the Google Drive

Code

All the required code is in the Colab File

We can run all the cells in the colab file with copying the dataset from the given drive link to the desired location (for not changing any code) or any desired location and importing it accordingly.

Results

1) Input Image

Image2

2) Image With Generated Mask (Mask shown is generated from the best method out of two methods)

Image-with-mask

3) Acne Removal

--> Method 1 (OpenCV Integrated Painting)

Final-Image-using-Opencv

--> Method 2 (Deep Image Prior - Using UNet CNN Model)

Final-image-using-Unet

About

Computer Vision Final Project Repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published