Transformer-Based Wireless Capsule Endoscopy Bleeding Tissue Detection and Classification

Basit Alawode, Shibani Hamza, Adarsh Ghimire, Divya Velayudhan
12/26/2024
cs.CV

Official code: BasitAlawode/WCEBleedGen (5 stars, MIT, last commit 2024-12-30).

Abstract

Informed by the success of the transformer model in various computer vision tasks, we design an end-to-end trainable model for the automatic detection and classification of bleeding and non-bleeding frames extracted from Wireless Capsule Endoscopy (WCE) videos. Based on the DETR model, our model uses the Resnet50 for feature extraction, the transformer encoder-decoder for bleeding and non-bleeding region detection, and a feedforward neural network for classification. Trained in an end-to-end approach on the Auto-WCEBleedGen Version 1 challenge training set, our model performs both detection and classification tasks as a single unit. Our model achieves an accuracy, recall, and F1-score classification percentage score of 98.28, 96.79, and 98.37 respectively, on the Auto-WCEBleedGen version 1 validation set. Further, we record an average precision (AP @ 0.5), mean-average precision (mAP) of 0.7447 and 0.7328 detection results. This earned us a 3rd place position in the challenge. Our code is publicly available via https://github.com/BasitAlawode/WCEBleedGen.

View on arXivView PDF

Code Implementations(1)

MIT
50PythonOct 8, 20231 years agoMIT

Cite this paper

@article{alawode2024transformerbased,
  title  = {Transformer-Based Wireless Capsule Endoscopy Bleeding Tissue Detection and Classification},
  author = {Basit Alawode and Shibani Hamza and Adarsh Ghimire and Divya Velayudhan},
  year   = {2024},
  eprint = {2412.19218},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.19218v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.19218.svg)](https://codeofpaper.com/paper/2412.19218)

Discussion