Datasets:
image
imagewidth (px) 332
1.92k
| source
stringclasses 5
values | question
stringclasses 20
values | answer
stringclasses 502
values | img_id
stringlengths 25
25
|
---|---|---|---|---|
Ulcerative Colitis | Are there any abnormalities in the image? Check all that are present. | ulcerative colitis | cla820gl0s3nv071u4fgd7xgq |
|
Ulcerative Colitis | Are there any anatomical landmarks in the image? Check all that are present. | none | cla820gl0s3nv071u4fgd7xgq |
|
Ulcerative Colitis | Are there any instruments in the image? Check all that are present. | none | cla820gl0s3nv071u4fgd7xgq |
|
Ulcerative Colitis | Have all polyps been removed? | not relevant | cla820gl0s3nv071u4fgd7xgq |
|
Ulcerative Colitis | Is this finding easy to detect? | yes | cla820gl0s3nv071u4fgd7xgq |
|
Ulcerative Colitis | Is there a green/black box artefact? | no | cla820gl0s3nv071u4fgd7xgq |
|
Ulcerative Colitis | Is there text? | yes | cla820gl0s3nv071u4fgd7xgq |
|
Ulcerative Colitis | What type of polyp is present? | none | cla820gl0s3nv071u4fgd7xgq |
|
Ulcerative Colitis | What type of procedure is the image taken from? | colonoscopy | cla820gl0s3nv071u4fgd7xgq |
|
Ulcerative Colitis | What is the size of the polyp? | none | cla820gl0s3nv071u4fgd7xgq |
|
Ulcerative Colitis | How many findings are present? | 1 | cla820gl0s3nv071u4fgd7xgq |
|
Ulcerative Colitis | How many polyps are in the image? | 0 | cla820gl0s3nv071u4fgd7xgq |
|
Ulcerative Colitis | Where in the image is the instrument? | none | cla820gl0s3nv071u4fgd7xgq |
|
Ulcerative Colitis | Where in the image is the abnormality? | center; center-left; center-right; lower-center; lower-left; lower-right; upper-center; upper-left; upper-right | cla820gl0s3nv071u4fgd7xgq |
|
Ulcerative Colitis | Where in the image is the anatomical landmark? | none | cla820gl0s3nv071u4fgd7xgq |
|
Ulcerative Colitis | How many instrumnets are in the image? | 0 | cla820gl0s3nv071u4fgd7xgq |
|
Ulcerative Colitis | What color is the abnormality? If more than one separate with ; | pink; red | cla820gl0s3nv071u4fgd7xgq |
|
Ulcerative Colitis | Is there text? | yes | cla820gl0s3nz071uch6e0sas |
|
Ulcerative Colitis | Are there any instruments in the image? Check all that are present. | none | cla820gl0s3nz071uch6e0sas |
|
Ulcerative Colitis | Where in the image is the anatomical landmark? | none | cla820gl0s3nz071uch6e0sas |
|
Ulcerative Colitis | Is there a green/black box artefact? | yes | cla820gl0s3nz071uch6e0sas |
|
Ulcerative Colitis | What color is the abnormality? If more than one separate with ; | pink; red; white | cla820gl0s3nz071uch6e0sas |
|
Ulcerative Colitis | What type of polyp is present? | none | cla820gl0s3nz071uch6e0sas |
|
Ulcerative Colitis | Where in the image is the instrument? | none | cla820gl0s3nz071uch6e0sas |
|
Ulcerative Colitis | Is this finding easy to detect? | no | cla820gl0s3nz071uch6e0sas |
|
Ulcerative Colitis | What is the size of the polyp? | none | cla820gl0s3nz071uch6e0sas |
|
Ulcerative Colitis | How many instrumnets are in the image? | 0 | cla820gl0s3nz071uch6e0sas |
|
Ulcerative Colitis | How many findings are present? | 1 | cla820gl0s3nz071uch6e0sas |
|
Ulcerative Colitis | Are there any anatomical landmarks in the image? Check all that are present. | none | cla820gl0s3nz071uch6e0sas |
|
Ulcerative Colitis | Are there any abnormalities in the image? Check all that are present. | ulcerative colitis | cla820gl0s3nz071uch6e0sas |
|
Ulcerative Colitis | What type of procedure is the image taken from? | colonoscopy | cla820gl0s3nz071uch6e0sas |
|
Ulcerative Colitis | How many polyps are in the image? | 0 | cla820gl0s3nz071uch6e0sas |
|
Ulcerative Colitis | Have all polyps been removed? | not relevant | cla820gl0s3nz071uch6e0sas |
|
Ulcerative Colitis | Where in the image is the abnormality? | center; center-left; center-right; lower-center; lower-left; lower-right; upper-center; upper-left; upper-right | cla820gl0s3nz071uch6e0sas |
|
Ulcerative Colitis | Is there text? | yes | cla820gl0s3o3071ufxqh1brg |
|
Ulcerative Colitis | What is the size of the polyp? | none | cla820gl0s3o3071ufxqh1brg |
|
Ulcerative Colitis | What color is the abnormality? If more than one separate with ; | pink; red | cla820gl0s3o3071ufxqh1brg |
|
Ulcerative Colitis | Are there any instruments in the image? Check all that are present. | none | cla820gl0s3o3071ufxqh1brg |
|
Ulcerative Colitis | Is this finding easy to detect? | no | cla820gl0s3o3071ufxqh1brg |
|
Ulcerative Colitis | Are there any abnormalities in the image? Check all that are present. | ulcerative colitis | cla820gl0s3o3071ufxqh1brg |
|
Ulcerative Colitis | Have all polyps been removed? | not relevant | cla820gl0s3o3071ufxqh1brg |
|
Ulcerative Colitis | What type of procedure is the image taken from? | colonoscopy | cla820gl0s3o3071ufxqh1brg |
|
Ulcerative Colitis | How many polyps are in the image? | 0 | cla820gl0s3o3071ufxqh1brg |
|
Ulcerative Colitis | How many instrumnets are in the image? | 0 | cla820gl0s3o3071ufxqh1brg |
|
Ulcerative Colitis | What type of polyp is present? | none | cla820gl0s3o3071ufxqh1brg |
|
Ulcerative Colitis | Where in the image is the abnormality? | center; center-left; center-right; lower-center; lower-left; lower-right; upper-center; upper-left; upper-right | cla820gl0s3o3071ufxqh1brg |
|
Ulcerative Colitis | How many findings are present? | 1 | cla820gl0s3o3071ufxqh1brg |
|
Ulcerative Colitis | Where in the image is the anatomical landmark? | none | cla820gl0s3o3071ufxqh1brg |
|
Ulcerative Colitis | Are there any anatomical landmarks in the image? Check all that are present. | none | cla820gl0s3o3071ufxqh1brg |
|
Ulcerative Colitis | Is there a green/black box artefact? | no | cla820gl0s3o3071ufxqh1brg |
|
Ulcerative Colitis | Where in the image is the instrument? | none | cla820gl0s3o3071ufxqh1brg |
|
Ulcerative Colitis | How many findings are present? | 1 | cla820gl0s3o7071u4ouwcitb |
|
Ulcerative Colitis | How many instrumnets are in the image? | 0 | cla820gl0s3o7071u4ouwcitb |
|
Ulcerative Colitis | Is there text? | yes | cla820gl0s3o7071u4ouwcitb |
|
Ulcerative Colitis | What type of polyp is present? | none | cla820gl0s3o7071u4ouwcitb |
|
Ulcerative Colitis | Is this finding easy to detect? | yes | cla820gl0s3o7071u4ouwcitb |
|
Ulcerative Colitis | Are there any instruments in the image? Check all that are present. | none | cla820gl0s3o7071u4ouwcitb |
|
Ulcerative Colitis | How many polyps are in the image? | 0 | cla820gl0s3o7071u4ouwcitb |
|
Ulcerative Colitis | Is there a green/black box artefact? | no | cla820gl0s3o7071u4ouwcitb |
|
Ulcerative Colitis | Are there any abnormalities in the image? Check all that are present. | ulcerative colitis | cla820gl0s3o7071u4ouwcitb |
|
Ulcerative Colitis | Where in the image is the anatomical landmark? | none | cla820gl0s3o7071u4ouwcitb |
|
Ulcerative Colitis | Have all polyps been removed? | not relevant | cla820gl0s3o7071u4ouwcitb |
|
Ulcerative Colitis | What type of procedure is the image taken from? | colonoscopy | cla820gl0s3o7071u4ouwcitb |
|
Ulcerative Colitis | Where in the image is the instrument? | none | cla820gl0s3o7071u4ouwcitb |
|
Ulcerative Colitis | What is the size of the polyp? | none | cla820gl0s3o7071u4ouwcitb |
|
Ulcerative Colitis | Are there any anatomical landmarks in the image? Check all that are present. | none | cla820gl0s3o7071u4ouwcitb |
|
Ulcerative Colitis | Where in the image is the abnormality? | center; center-left; center-right; lower-center; lower-left; lower-right; upper-center; upper-left; upper-right | cla820gl0s3o7071u4ouwcitb |
|
Ulcerative Colitis | What color is the abnormality? If more than one separate with ; | pink; red | cla820gl0s3o7071u4ouwcitb |
|
Ulcerative Colitis | Have all polyps been removed? | not relevant | cla820gl0s3ob071u5z04bn3r |
|
Ulcerative Colitis | Is there a green/black box artefact? | no | cla820gl0s3ob071u5z04bn3r |
|
Ulcerative Colitis | Where in the image is the anatomical landmark? | none | cla820gl0s3ob071u5z04bn3r |
|
Ulcerative Colitis | Are there any abnormalities in the image? Check all that are present. | ulcerative colitis | cla820gl0s3ob071u5z04bn3r |
|
Ulcerative Colitis | What type of polyp is present? | none | cla820gl0s3ob071u5z04bn3r |
|
Ulcerative Colitis | What type of procedure is the image taken from? | colonoscopy | cla820gl0s3ob071u5z04bn3r |
|
Ulcerative Colitis | Are there any anatomical landmarks in the image? Check all that are present. | none | cla820gl0s3ob071u5z04bn3r |
|
Ulcerative Colitis | How many findings are present? | 1 | cla820gl0s3ob071u5z04bn3r |
|
Ulcerative Colitis | Where in the image is the abnormality? | center; center-left; center-right; lower-center; lower-left; lower-right; upper-center; upper-left; upper-right | cla820gl0s3ob071u5z04bn3r |
|
Ulcerative Colitis | Where in the image is the instrument? | none | cla820gl0s3ob071u5z04bn3r |
|
Ulcerative Colitis | Are there any instruments in the image? Check all that are present. | none | cla820gl0s3ob071u5z04bn3r |
|
Ulcerative Colitis | Is this finding easy to detect? | no | cla820gl0s3ob071u5z04bn3r |
|
Ulcerative Colitis | What is the size of the polyp? | none | cla820gl0s3ob071u5z04bn3r |
|
Ulcerative Colitis | What color is the abnormality? If more than one separate with ; | pink; red | cla820gl0s3ob071u5z04bn3r |
|
Ulcerative Colitis | How many instrumnets are in the image? | 0 | cla820gl0s3ob071u5z04bn3r |
|
Ulcerative Colitis | How many polyps are in the image? | 0 | cla820gl0s3ob071u5z04bn3r |
|
Ulcerative Colitis | Is there text? | yes | cla820gl0s3ob071u5z04bn3r |
|
Ulcerative Colitis | What type of polyp is present? | none | cla820gl0s3of071u96ilg9hm |
|
Ulcerative Colitis | How many instrumnets are in the image? | 0 | cla820gl0s3of071u96ilg9hm |
|
Ulcerative Colitis | Where in the image is the anatomical landmark? | none | cla820gl0s3of071u96ilg9hm |
|
Ulcerative Colitis | What type of procedure is the image taken from? | colonoscopy | cla820gl0s3of071u96ilg9hm |
|
Ulcerative Colitis | Is this finding easy to detect? | yes | cla820gl0s3of071u96ilg9hm |
|
Ulcerative Colitis | Are there any abnormalities in the image? Check all that are present. | ulcerative colitis | cla820gl0s3of071u96ilg9hm |
|
Ulcerative Colitis | Where in the image is the instrument? | none | cla820gl0s3of071u96ilg9hm |
|
Ulcerative Colitis | What color is the abnormality? If more than one separate with ; | pink; red | cla820gl0s3of071u96ilg9hm |
|
Ulcerative Colitis | What is the size of the polyp? | none | cla820gl0s3of071u96ilg9hm |
|
Ulcerative Colitis | Is there text? | yes | cla820gl0s3of071u96ilg9hm |
|
Ulcerative Colitis | How many polyps are in the image? | 0 | cla820gl0s3of071u96ilg9hm |
|
Ulcerative Colitis | How many findings are present? | 1 | cla820gl0s3of071u96ilg9hm |
|
Ulcerative Colitis | Are there any instruments in the image? Check all that are present. | none | cla820gl0s3of071u96ilg9hm |
|
Ulcerative Colitis | Have all polyps been removed? | not relevant | cla820gl0s3of071u96ilg9hm |
|
Ulcerative Colitis | Are there any anatomical landmarks in the image? Check all that are present. | none | cla820gl0s3of071u96ilg9hm |
The Kvasir-VQA dataset is an extended dataset derived from the HyperKvasir and Kvasir-Instrument datasets, augmented with question-and-answer annotations. This dataset is designed to facilitate advanced machine learning tasks in gastrointestinal (GI) diagnostics, including image captioning, Visual Question Answering (VQA) and text-based generation of synthetic medical images
Homepage: https://datasets.simula.no/kvasir-vqa
Usage
You can use the Kvasir-VQA dataset directly from HuggingFace Dataset Hub.
🔥 See Jupyter Notebook Demo. You can open the notebook on Google Colab.
from datasets import load_dataset
ds = load_dataset("SimulaMet-HOST/Kvasir-VQA")
Downloading Dataset as an Image foler and CSV Metadata
d_path ="./" #existing folder where you want to save images and metadata.csv
df = ds['raw'].select_columns(['source', 'question', 'answer', 'img_id']).to_pandas()
df.to_csv(f"{d_path}/metadata.csv", index=False)
import os
os.makedirs(f"{d_path}/images", exist_ok=True)
for i, row in df.groupby('img_id').nth(0).iterrows(): # for images
image = ds['raw'][i]['image'].save(f"{d_path}/images/{row['img_id']}.jpg")
The total image size is around 1.5 GB. The CSV file will have 58,849 rows.
Key Features
- Total Images: 6,500 annotated images
- Annotations: Includes question-and-answer pairs for each image
- Question Types: Yes/No, single-choice, multiple-choice, color-related, location-related, numerical count
- Applications: Image captioning, VQA, synthetic medical image generation, object detection, etc
Dataset Details
Image Categories
The dataset includes images from various GI tract conditions and medical instruments used in GI procedures:
Image Category | Number of Samples | Source Dataset |
---|---|---|
Normal | 2500 | HyperKvasir |
Polyps | 1000 | HyperKvasir |
Esophagitis | 1000 | HyperKvasir |
Ulcerative Colitis | 1000 | HyperKvasir |
Instrument | 1000 | Kvasir-Instrument |
TOTAL | 6500 |
Annotation Process
Annotations were developed with input from medical professionals and include six types of questions:
- Yes/No Questions
- Single-Choice Questions
- Multiple-Choice Questions
- Color-Related Questions
- Location-Related Questions
- Numerical Count Questions
Annotations cover a range of GI aspects, including findings, abnormalities, anatomical landmarks, and medical instruments.
When using the Kvasir-VQA dataset, you should include the following information to ensure compliance with the dataset's usage terms, particularly when citing the dataset in documents or papers:
Terms of Use
The data is released fully open for research and educational purposes under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) license. The use of the dataset for purposes such as competitions and commercial purposes needs prior written permission. In all documents and papers that use or refer to the dataset or report experimental results based on the Kvasir-VQA, a reference to the related article needs to be added:
@article{Gautam2024Sep,
author = {Gautam, Sushant and Stor{\aa}s, Andrea and Midoglu, Cise and Hicks, Steven A. and Thambawita, Vajira and Halvorsen, P{\aa}l and Riegler, Michael A.},
title = {{Kvasir-VQA: A Text-Image Pair GI Tract Dataset}},
journal = {arXiv},
year = {2024},
month = sep,
eprint = {2409.01437},
doi = {10.48550/arXiv.2409.01437}
}
@inproceedings{gautam2024kvasirvqa,
title={Kvasir-VQA: A Text-Image Pair GI Tract Dataset},
author={Gautam, Sushant and Storås, Andrea and Midoglu, Cise and Hicks, Steven A. and Thambawita, Vajira and Halvorsen, Pål and Riegler, Michael A.},
booktitle={Proceedings of the First International Workshop on Vision-Language Models for Biomedical Applications (VLM4Bio '24)},
year={2024},
location={Melbourne, VIC, Australia},
pages={10 pages},
publisher={ACM},
doi={10.1145/3689096.3689458}
}
Contact
Please contact michael@simula.no, vajira@simula.no, steven@simula.no or paalh@simula.no for any questions regarding the dataset.
- Downloads last month
- 411