milkyroad/core
Cystoscopy Core Benchmark Raw-source core dataset for cystoscopy image and video classification. Contains cystoscopy videos with bounding-box annotations, and images with lesion-level labels, grades, and stages. Designed as the source-of-truth from which derived training datasets (v1, v2, G) are built. Sources The dataset aggregates three publicly available cystoscopy datasets: Source Origin Modality Patients Images/Frames Type B B_dataset Video clips… See the full description on the dataset page: https://huggingface.co/datasets/milkyroad/core.
Cystoscopy Core Benchmark
Raw-source core dataset for cystoscopy image and video classification. Contains cystoscopy videos with bounding-box annotations, and images with lesion-level labels, grades, and stages. Designed as the source-of-truth from which derived training datasets (v1, v2, G) are built.
Sources
The dataset aggregates three publicly available cystoscopy datasets:
Dataset Structure
cystoscopy-core/
├── data/
│ ├── image_annotations.parquet # 12,269 rows: per-image labels, grade, stage, segmentation
│ ├── video_annotations.parquet # 173 rows: per-video metadata (histological type, grade, stage)
│ └── video_frame_boxes.parquet # 69,108 rows: per-frame bounding boxes (x,y,w,h)
├── B/videos/ # 173 .mp4 video clips (1920x1080)
├── C/images/<pid>/ # 8067 .png images organized by patient
└── D/images/<pid>/ # 1754 .png images organized by patientAnnotation Schemas
image_annotations.parquet (12,269 rows)
Per-image annotation table covering all C images, all D images, and B video frames selected for the G-derived benchmark.
video_annotations.parquet (173 rows)
videoframeboxes.parquet (69,108 rows)
Label Distribution (image_annotations)
Grade Distribution
Stage Distribution
Histological Type Distribution (B videos)
Patient IDs
Normalized mapping (1-indexed):
- B: patients 1–30 (30 patients, 173 video track clips)
- C: patients 31–190 (160 patients, 8067 images)
- D: patients 191–212 (22 patients, 1754 images)
Licensing
This is a mixed-license dataset:
- Source B: CC BY 4.0
- Source C (CystoDS): CC BY 4.0
- Source D (Lazo et al.): CC BY-SA 4.0
The combined dataset is distributed under CC BY-SA 4.0 (the most restrictive component license).
Citation
If you use this dataset, please cite the original source datasets.
Usage
from datasets import load_dataset
from huggingface_hub import hf_hub_download
# Load annotation tables
ds = load_dataset("milkyroad/cystoscopy-core")
# Download a specific image
hf_hub_download(
repo_id="milkyroad/cystoscopy-core",
filename="C/images/P031/d6df5610.png",
repo_type="dataset",
)
# Download a specific video
hf_hub_download(
repo_id="milkyroad/cystoscopy-core",
filename="B/videos/P000_cystoscopy_track_000.mp4",
repo_type="dataset",
)