AN ATTENTION-ENHANCED YOLOV7 FOR BLEEDING DETECTION AND LOCALIZATION IN WIRELESS CAPSULE ENDOSCOPY IMAGES
Wireless capsule endoscopy (WCE) is produced as an effective and advanced diagnostic tool for detecting obscure gastrointestinal bleeding (OGIB). However, one of this technology's major limitations lies in the enormous number of image frames generated during each procedure, which must be manually reviewed by clinicians to localize the bleeding regions. By integrating deep learning (DL) techniques with WCE, the diagnostic process can become faster and more accurate. In this paper, a multi-stage DL framework is proposed to enhance bleeding detection and localization in WCE images. First, the data preparation stage is conducted by manually annotating bleeding regions using the LabelImg tool. Followed by a detection and localization stage by using an enhanced You Only Look Once (YOLOv7) architecture. The proposed localization architecture integrates Squeeze-and-Excitation (SE) attention blocks, enabling more accurate extraction of small-area bleeding features and improving localization performance. The experiment is implemented and evaluated on the publicly available Kvasir Blood-Fresh WCE dataset and executed using the CUDA parallel programming model. The proposed YOLOv7-SE model achieves precision, recall, and mean average precision (mAP) values of 0.734, 0.672, and 0.741, respectively. Furthermore, a comparison with the baseline YOLOv7 model showed a clear improvement in measured metrics, confirming the enhanced localization capability of the proposed approach.
Authors
- Ahmed A. Emran (ORCID: https://orcid.org/0000-0002-8912-2236)
- Basel Mounir El Saghir (ORCID: https://orcid.org/0000-0003-0823-3979)
- Maryam Hashem
Institutions
- Al-Azhar University (EG)
Publication Details
- Journal
- Journal of Al-Azhar University Engineering Sector
- Published
- 2026-11-26
- DOI
- https://doi.org/10.21608/auej.2026.476109.2071
- Primary Topic
- Gastrointestinal Bleeding Diagnosis and Treatment
- Type
- article
- Field-Weighted Citation Impact
- 0.00