CoolFace
Datasetpublic

HawkFranklin-Research/SCIN-Dermatology-Raw-Images

SCIN-Dermatology-Raw-Images This dataset contains 6,517 patient-submitted photographs organized into 3,061 clinical cases of common skin diseases. The source images are curated from the public Google Skin Condition Image Network (SCIN) corpus, cleansed of quality and gradability conflicts, and paired with complete patient-reported demographics, clinical symptoms, and dermatologist gradings. Dataset Structure This repository follows the standard Hugging Face… See the full description on the dataset page: https://huggingface.co/datasets/HawkFranklin-Research/SCIN-Dermatology-Raw-Images.

sourceHugging Facemitupdated 3mo agoView on Hugging Face
0likes372downloads
Dataset Card

SCIN-Dermatology-Raw-Images

This dataset contains 6,517 patient-submitted photographs organized into 3,061 clinical cases of common skin diseases. The source images are curated from the public Google Skin Condition Image Network (SCIN) corpus, cleansed of quality and gradability conflicts, and paired with complete patient-reported demographics, clinical symptoms, and dermatologist gradings.

Dataset Structure

This repository follows the standard Hugging Face ImageFolder structure:

text
.
├── README.md
├── metadata.csv
└── images/
    ├── -3205742176803893704.png
    ├── -4762289084741430925.png
    └── ...

The metadata.csv matches the image filenames in images/ to the respective case-level metadata and diagnostic splits.

Metadata Schema

Column NameData TypeDescription
file_namestringRelative path to the image, e.g. images/-3205742176803893704.png
case_idstringUnique patient case ID
image_idstringUnique image ID
fitzpatrick_skin_typestringFitzpatrick skin type grading (FST1–FST6)
monk_skin_tone_usfloatMonk Skin Tone grading (US standard, scale 1–10)
monk_skin_tone_indiafloatMonk Skin Tone grading (India standard, scale 1–10)
age_groupstringPatient age category
sex_at_birthstringPatient sex
primary_diagnosisstringPrimary consensus dermatology diagnosis (e.g. Eczema, Psoriasis)
binary_labelintTriage label (0 = non-infectious, 1 = infectious)
symptoms_itchingbooleanPresence of itching symptom
symptoms_painbooleanPresence of pain symptom
condition_durationstringDuration of the condition
dataset_splitstringStratified split assignment (train, val, test)

Quick Start (Python)

To load and stream the images and metadata directly using the Hugging Face datasets library:

python
from datasets import load_dataset

# Load the dataset (automatically casts the 'image' field to PIL images)
dataset = load_dataset("HawkFranklin-Research/SCIN-Dermatology-Raw-Images")

# Access the training split
train_data = dataset["train"]

# Get the first sample
sample = train_data[0]
print(sample["primary_diagnosis"])  # e.g., 'Eczema'
print(sample["fitzpatrick_skin_type"])  # e.g., 'FST4'
sample["image"].show()  # Opens the PIL image

Citation & License

This dataset is distributed under the MIT License. The underlying image data and medical attributes are derived from the Google SCIN repository. If you use this dataset in your research, please cite the primary SCIN work:

bibtex
@article{Ward2024_SCIN_JAMANetworkOpen,
  author    = {Ward, Edwin and others},
  title     = {Skin Condition Image Network (SCIN): A diverse dataset of patient-submitted skin photographs},
  journal   = {JAMA Network Open},
  year      = {2024},
  volume    = {7},
  number    = {5},
  pages     = {e2410389}
}