- Registration form
- Challenge Hosting Website
- Challenge ArXiv
- Challenge github repository
- Training and Validation Dataset Link
- Sample Report Overleaf
- Challenge Overview
- Challenge Timeline
- Dataset
- Sample Scripts for Participants
- Sample Evaluation by Organizing members
- Submission Format
- Contributions
The aim of the challenge is to provide an opportunity for the development, testing and evaluation of AI models for automatic classification of abnormalities captured in VCE video frames. It promotes the development of vendor-independent and generalized AI-based models for automatic abnormality classification pipeline with 10 class labels namely angioectasia, bleeding, erosion, erythema, foreign body, lymphangiectasia, polyp, ulcer, worms, and normal.
- Launch of challenge: August 15, 2024
- Registration: August 15, 2024 - October 10, 2024
- Release of Training Data: August 15, 2024
- Release of Test Data and Result submission: October 11, 2024 - October 25, 2024
- Result analysis by the organizing team: October 26, 2024 - November 24, 2024
- Announcement of results for all teams: November 25, 2024
The training and validation dataset has been developed using three publicly available (SEE-AI project dataset, KID, and Kvasir-Capsule dataset) and one private dataset (AIIMS) VCE datasets. The training and validation dataset consist of 37,607 and 16,132 VCE frames respectively mapped to 10 class labels namely angioectasia, bleeding, erosion, erythema, foreign body, lymphangiectasia, polyp, ulcer, worms, and normal.
| Type of Data | Source Dataset | Angioectasia | Bleeding | Erosion | Erythema | Foreign Body | Lymphangiectasia | Normal | Polyp | Ulcer | Worms |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Training | KID | 18 | 3 | 0 | 0 | 0 | 6 | 315 | 34 | 0 | 0 |
| KVASIR | 606 | 312 | 354 | 111 | 543 | 414 | 24036 | 38 | 597 | 0 | |
| SEE-AI | 530 | 519 | 2340 | 580 | 249 | 376 | 4312 | 1090 | 0 | 0 | |
| AIIMS | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 66 | 158 | |
| Total Frames | 1154 | 834 | 2694 | 691 | 792 | 796 | 28663 | 1162 | 663 | 158 | |
| Validation | KID | 9 | 2 | 0 | 0 | 0 | 3 | 136 | 15 | 0 | 0 |
| KVASIR | 260 | 134 | 152 | 48 | 233 | 178 | 10302 | 17 | 257 | 0 | |
| SEE-AI | 228 | 223 | 1003 | 249 | 107 | 162 | 1849 | 468 | 0 | 0 | |
| AIIMS | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 29 | 68 | |
| Total Frames | 497 | 359 | 1155 | 297 | 340 | 343 | 12287 | 500 | 286 | 68 |
The images are organized into their respective classes for both the training and validation datasets as shown below:
Dataset/
├── training
│ ├── Angioectasia
│ ├── Bleeding
│ ├── Erosion
│ ├── Erythema
│ ├── Foreign Body
│ ├── Lymphangiectasia
│ ├── Normal
│ ├── Polyp
│ ├── Ulcer
│ └── Worms
│ └── training_data.xlsx
└── validation
├── Angioectasia
├── Bleeding
├── Erosion
├── Erythema
├── Foreign Body
├── Lymphangiectasia
├── Normal
├── Polyp
├── Ulcer
└── Worms
└── validation_data.xlsxThe Data_loader.py script fetches the data from Figshare, unzips and saves it in the current directory.
python sample_codes_for_participants/Data_loader.pyThe Eval_metrics_gen_excel.py script contains 2 functions:
The save_predictions_to_excel function processes the predicted probabilities for a set of images, determines the most likely class for each image, and then saves the results (including both the predicted probabilities and the predicted classes) to an Excel file.
The function takes 3 parameters:
image_paths: A list of paths to the images. Each path corresponds to an image that was used for prediction.y_pred: A numpy array containing the predicted probabilities for each class. Each row corresponds to an image, and each column corresponds to a class.output_path: The file path where the Excel file will be saved.
A sample of the excel file which will be generated using this function is available here
The generated excel file for the test data is to be submitted through for evaluation. Check here
Note: The y_pred array should have the predicted probabilites in the order: ['Angioectasia', 'Bleeding', 'Erosion', 'Erythema', 'Foreign Body', 'Lymphangiectasia', 'Normal', 'Polyp', 'Ulcer', 'Worms']
The generate_metrics_report function generates all the relevant metrics for evaluating a multi-class classification, including classwise and aggregate specificity, ROC AUC scores, precision-recall scores, sensitivity, and F1 scores. This function can be used to evaluate the performance of a trained model on validation data.
The function takes 2 parameters:
- y_true: The ground truth multi-class labels in one-hot encoded format.
- y_pred: The predicted probabilities for each class.
Returns: A JSON string containing the detailed metrics report.
Note: The y_pred and y_true array should have the predicted probabilites in the order: ['Angioectasia', 'Bleeding', 'Erosion', 'Erythema', 'Foreign Body', 'Lymphangiectasia', 'Normal', 'Polyp', 'Ulcer', 'Worms']
To run this script, you'll need to have the following libraries installed:
-
NumPy: For numerical operations and array handling.
- Install using:
pip install numpy
- Install using:
-
Pandas: For data manipulation and analysis.
- Install using:
pip install pandas
- Install using:
-
Scikit-learn: For machine learning metrics and utilities.
- Provides functions such as
classification_report,roc_auc_score,precision_recall_curve,recall_score, andf1_score. - Install using:
pip install scikit-learn
- Provides functions such as
-
JSON: For parsing JSON data (included in Python standard library, no installation required).
To install all required libraries, you can use the following command:
pip install numpy pandas scikit-learnThe Evaluate_model.py script is a sample script which shows the usage of the functions from the Eval_metrics_gen_excel.py script. A VGG16 model has been evaluated in this script, participants can take inspiration from this for their own submissions.
The sample script that shows the metrics and creates the prediction excel file can be called via
python sample_codes_for_participants/Evaluate_model.pyThis directory contains extensive analysis of the dataset along with the evaluation of Custom CNN, Support vector machines, ResNet50 and VGG16 on the training and the validation data.
Each team is required to submit their results in an EMAIL with the following structure to ask.misahub@gmail.com
- The email should contain:
- Challenge name and Team name as the SUBJECT LINE.
- Team member names and affiliation in the BODY OF THE EMAIL.
- Contact number and email address in the BODY OF THE EMAIL. A link of the github repository in public mode in the BODY OF THE EMAIL.
- A link of their report on any open preprint server of their choice (ArXiv, Authorea, BioRxiv, Figshare etc) in the BODY OF THE EMAIL. The report should be in the latex format given here.
- Generated excel sheet (in xlsx format) as an attachment. The excel sheet should be in the same format as this for the test data and can be generated from the Eval_metrics_gen_excel.py script. Any other format will NOT be accepted and will lead to disqualification.
- The github repository in public mode should contain the
following:
- Developed code for training, validation, and testing in .py / .mat etc in readable format with comments.
- Stored model, associated weights or files (optional).
- Any utils or assets or config. or checkpoints.
The submitted excel files will be evaluated using a semi-automated script to generate the relevant metrics against the true labels on the basis of which the participants will be ranked.
Following checklist will be used to select the top three winning teams:
- Best evaluation metrics (especially mean AUC) on testing dataset.
- In case of ties:
- Model uniqueness and reproducibility.
- Readability of the submitted report and github repository.
- Unique methods of handling class-imbalance problems in the datasets.
- Challenge ArXiv
@article{handa2024capsule, title={Capsule Vision 2024 Challenge: Multi-Class Abnormality Classification for Video Capsule Endoscopy}, author={Handa, Palak and Mahbod, Amirreza and Schwarzhans, Florian and Woitek, Ramona and Goel, Nidhi and Chhabra, Deepti and Jha, Shreshtha and Dhir, Manas and Gunjan, Deepak and Kakarla, Jagadeesh and others}, journal={arXiv preprint arXiv:2408.04940}, year={2024}}
- Training and Validation Datasets
@article{Handa2024, author = "Palak Handa and Amirreza Mahbod and Florian Schwarzhans and Ramona Woitek and Nidhi Goel and Deepti Chhabra and Shreshtha Jha and Manas Dhir and Deepak Gunjan and Jagadeesh Kakarla and Balasubramanian Raman", title = "{Training and Validation Dataset of Capsule Vision 2024 Challenge}", year = "2024", month = "7", url = "https://figshare.com/articles/dataset/Training_and_Validation_Dataset_of_Capsule_Vision_2024_Challenge/26403469", doi = "10.6084/m9.figshare.26403469.v1", journal={Fishare}}
