Datasets:
The Dataset Viewer has been disabled on this dataset.
Kvasir-SEG (file mirror)
1000 gastrointestinal polyp images with matching pixel-level segmentation masks, from the Kvasir-SEG release by Simula Research Laboratory.
This is a plain file mirror, not a datasets-format repo: images and masks
are stored as the original JPEGs so any path-based dataloader can consume them
directly after snapshot_download. The dataset viewer is disabled for that
reason.
Layout
Kvasir-SEG/
images/*.jpg # 1000 RGB frames, variable size
masks/*.jpg # 1000 grayscale masks, same stem as their image
kavsir_bboxes.json # bounding-box annotations from the original release
Masks are grayscale JPEGs; binarise with a threshold (127 works cleanly) rather than testing for equality with 255 — JPEG compression leaves soft edges.
Usage
from huggingface_hub import snapshot_download
snapshot_download(
repo_id="berkaytrhn/kvasir-seg",
repo_type="dataset",
local_dir="data/kvasir-seg",
)
# -> data/kvasir-seg/Kvasir-SEG/images, .../masks
Source and citation
Original dataset: https://datasets.simula.no/kvasir-seg/ — released for research and educational use. Cite the original paper, not this mirror:
@inproceedings{jha2020kvasir,
title = {Kvasir-SEG: A Segmented Polyp Dataset},
author = {Jha, Debesh and Smedsrud, Pia H. and Riegler, Michael A. and
Halvorsen, Pal and de Lange, Thomas and Johansen, Dag and
Johansen, Havard D.},
booktitle = {International Conference on Multimedia Modeling (MMM)},
pages = {451--462},
year = {2020},
publisher = {Springer}
}
- Downloads last month
- 894