theodore-ioann's picture
Update README.md
8bbbbb6 verified

A newer version of the Gradio SDK is available: 5.33.0

Upgrade
metadata
title: Skin Lesion Segmentation Demo
emoji: πŸ’»
colorFrom: pink
colorTo: purple
sdk: gradio
sdk_version: 5.31.0
app_file: app.py
pinned: false
license: mit

🧴 Skin Lesion Segmentation Demo

This interactive web application allows you to upload a skin image, select a segmentation model, and visualize the predicted lesion mask with optional post-processing.

🧠 Available Models

  • UNet
  • SegFormer
  • Inception-based CNN
  • KMeans (Unsupervised)
  • Gaussian Mixture Model (Unsupervised)

πŸ”§ Postprocessing Options

  • None
  • Morphological Open
  • Morphological Close
  • Erosion
  • Dilation

πŸ’‘ How it Works

The model takes in a skin lesion image (resized to 128Γ—128), performs segmentation, and visualizes both:

  • A binary predicted mask
  • A color overlay on the original image

πŸ› οΈ Built With

  • PyTorch & torchvision
  • scikit-learn
  • Hugging Face Transformers
  • Gradio
  • OpenCV

Demo created by Theodore Ioannidis (https://github.com/TheodoreIoannidis).