Dataset Viewer
Auto-converted to Parquet
text
stringlengths
24
24
1.160000000000000000e+02
4.800000000000000000e+01
1.000000000000000000e+02
1.000000000000000000e+01
8.100000000000000000e+01
1.100000000000000000e+02
8.200000000000000000e+01
7.100000000000000000e+01
8.400000000000000000e+01
5.600000000000000000e+01
7.200000000000000000e+01
1.400000000000000000e+01
5.000000000000000000e+00
5.700000000000000000e+01
4.000000000000000000e+00
8.300000000000000000e+01
3.600000000000000000e+01
7.500000000000000000e+01
6.500000000000000000e+01
4.300000000000000000e+01
1.170000000000000000e+02
5.200000000000000000e+01
3.800000000000000000e+01
1.300000000000000000e+01
1.050000000000000000e+02
1.190000000000000000e+02
1.020000000000000000e+02
9.000000000000000000e+01
9.800000000000000000e+01
3.900000000000000000e+01
1.000000000000000000e+00
2.000000000000000000e+00
3.000000000000000000e+00
4.000000000000000000e+00
5.000000000000000000e+00
6.000000000000000000e+00
7.000000000000000000e+00
8.000000000000000000e+00
9.000000000000000000e+00
1.000000000000000000e+01
1.100000000000000000e+01
1.200000000000000000e+01
1.300000000000000000e+01
1.400000000000000000e+01
1.500000000000000000e+01
1.600000000000000000e+01
1.700000000000000000e+01
1.800000000000000000e+01
1.900000000000000000e+01
2.000000000000000000e+01
2.100000000000000000e+01
2.200000000000000000e+01
2.300000000000000000e+01
2.400000000000000000e+01
2.500000000000000000e+01
2.600000000000000000e+01
2.700000000000000000e+01
2.800000000000000000e+01
2.900000000000000000e+01
3.000000000000000000e+01
3.100000000000000000e+01
3.200000000000000000e+01
3.300000000000000000e+01
3.400000000000000000e+01
3.500000000000000000e+01
3.600000000000000000e+01
3.700000000000000000e+01
3.800000000000000000e+01
3.900000000000000000e+01
4.000000000000000000e+01
4.100000000000000000e+01
4.200000000000000000e+01
4.300000000000000000e+01
4.400000000000000000e+01
4.500000000000000000e+01
4.600000000000000000e+01
4.700000000000000000e+01
4.800000000000000000e+01
4.900000000000000000e+01
5.000000000000000000e+01
5.100000000000000000e+01
5.200000000000000000e+01
5.300000000000000000e+01
5.400000000000000000e+01
5.500000000000000000e+01
5.600000000000000000e+01
5.700000000000000000e+01
5.800000000000000000e+01
5.900000000000000000e+01
6.000000000000000000e+01
6.100000000000000000e+01
6.200000000000000000e+01
6.300000000000000000e+01
6.400000000000000000e+01
6.500000000000000000e+01
6.600000000000000000e+01
6.700000000000000000e+01
6.800000000000000000e+01
6.900000000000000000e+01
7.000000000000000000e+01
End of preview. Expand in Data Studio
YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/datasets-cards)

The Endoscapes Dataset for Surgical Scene Segmentation, Object Detection, and Critical View of Safety Assessment

Overview

We are excited to release Endoscapes2023, a comprehensive laparoscopic video dataset for surgical anatomy and tool segmentation, object detection, and Critical View of Safety (CVS) assessment. This repository provides an overview of the dataset contents, including an exploration of the types and format of the annotations as well as download links.

Contents

Endoscapes2023 focuses on a region of interest within laparoscopic cholecystectomy videos where CVS is relevant and well-defined: during the dissection phase and before the first clip/cut of the cystic artery or cystic duct. We organize its contents into three different sub-datasets:

  1. Endoscapes-CVS201: 11090 frames from 201 videos annotated with CVS by 3 experts. These frames are evenly spaced at 5 second intervals, and the intermediate frames can be used to train for instance semi-supervised/temporal methods. There are a total of 58813 frames (1 fps) in the aforementioned region of interest.

  2. Endoscapes-BBox201: 1933 frames from 201 videos annotated with bounding boxes for 5 anatomical structures/regions (Gallbladder, Cystic Duct, Cystic Artery, Cystic Plate, Hepatocystic Triangle Dissection) and a tool class (6 classes total). The 1933 frames correspond to 1 frame every 30 seconds from the aformentioned region of interest of each video. As for Endoscapes-CVS201, the unlabeled frames can be used for semi-supervised/temporal methods.

  3. Endoscapes-Seg50: 493 frames from 50 videos annotated with instance and semantic segmentation masks for the 6 aforementioned classes. Endoscapes-Seg50 is a strict subset of Endoscapes-BBox201; we select ~25% of the 201 videos (50), sample 1 frame every 30s from the region of interest, and add segmentation annotations.

File Structure

We describe the file structure below. All annotations are in COCO-format, with CVS labels encoded as image-level tags. Of note, the CVS labels represent the average of the 3 annotators for each criterion. Decimal values indicate cases where there was disagreement among annotators.

$DATA_HOME
└── train # All training frames at 1 fps
    β”œβ”€β”€ 1_29375.jpg # SYNTAX: ${VIDEO_ID}_{FRAME_NUM}.jpg
    β”œβ”€β”€ ...
    β”œβ”€β”€ 120_85800.jpg
    β”œβ”€β”€ annotation_coco.json # Annotation File with Bounding Boxes for 1 frame every 30s
    β”œβ”€β”€ annotation_ds_coco.json # Annotation File with CVS labels for 1 frame every 5s
└── val # All validation frames at 1 fps
    β”œβ”€β”€ 121_14850.jpg
    β”œβ”€β”€ ...
    β”œβ”€β”€ 161_34325.jpg
    β”œβ”€β”€ annotation_coco.json
    β”œβ”€β”€ annotation_ds_coco.json
└── test # All testing frames at 1 fps
    β”œβ”€β”€ 162_5850.jpg
    β”œβ”€β”€ ...
    β”œβ”€β”€ 201_46125.jpg
    β”œβ”€β”€ annotation_coco.json
    β”œβ”€β”€ annotation_ds_coco.json
└── train_seg # Training frames for EndoscapesSeg50 at 1 fps
    β”œβ”€β”€ 4_21725.jpg
    β”œβ”€β”€ ...
    β”œβ”€β”€ 119_58000.jpg
    β”œβ”€β”€ annotation_coco.json # Annotation File with Instance Segmentation Masks for 1 frame every 30s
└── val_seg # Validation frames for EndoscapesSeg50 at 1 fps
    β”œβ”€β”€ 126_10825.jpg
    β”œβ”€β”€ ...
    β”œβ”€β”€ 159_60875.jpg
    β”œβ”€β”€ annotation_coco.json
└── test_seg # Testing frames for EndoscapesSeg50 at 1 fps
    β”œβ”€β”€ 165_22925.jpg
    β”œβ”€β”€ ...
    β”œβ”€β”€ 189_34875.jpg
    β”œβ”€β”€ annotation_coco.json
└── insseg # Instance segmentation masks SYNTAX: ${VIDEO_ID}_{FRAME_NUM}.npy/csv
    β”œβ”€β”€ 5_5900.npy # stack of instance masks, where each channel corresponds to an object instance
    β”œβ”€β”€ 5_5900.csv # label of each slice of numpy mask
    β”œβ”€β”€ ...
└── semseg # Semantic segmentation masks SYNTAX: ${VIDEO_ID}_{FRAME_NUM}.png
    β”œβ”€β”€ 5_5900.png # 480x854x3 image with each element representing the class_id of each pixel
    β”œβ”€β”€ ...
└── all_metadata.csv # CSV file with CVS annotations by each annotator
└── vid_cvs.csv # CSV file with Video-level CVS assessments
└── train_vids.txt # 120 training videos for Endoscapes-CVS201 and Endoscapes-BBox201
└── val_vids.txt # 41 validation videos for Endoscapes-CVS201 and Endoscapes-BBox201
└── test_vids.txt # 40 testing videos for Endoscapes-CVS201 and Endoscapes-BBox201
└── train_seg_vids.txt # 30 training videos for Endoscapes-Seg50
└── val_seg_vids.txt # 10 validation videos for Endoscapes-Seg50
└── test_seg_vids.txt # 10 testing videos for Endoscapes-Seg50
└── seg_label_map.txt # map from class name to id; note that background is ignored for object detection/instance segmentation; for these tasks, id 0 becomes cystic plate, ...

Acknowledgement

This work was supported by French state funds managed by the ANR within the National AI Chair program under Grant ANR-20-CHIA- 0029-01 (Chair AI4ORSafety) and within the Investments for the future program under Grants ANR-10-IDEX-0002-02 (IdEx Unistra) and ANR- 10-IAHU-02 (IHU Strasbourg). This work was granted access to the HPC resources of IDRIS under the allocation 2021-AD011011640R1 made by GENCI.

Downloads last month
110