Attention Guided U-Net with Grad CAM for Explainable Polyp Segmentation in Colonoscopy Images

Project Code :TCMAPY2034

Objective

This project develops a deep learning system for colorectal polyp segmentation in colonoscopy images using attention-guided U-Net models (Swin-CNN, ViT-U-Net, U-Net++). Integrated with Grad-CAM for explainable AI, it provides transparent decision visualizations. Deployed as a Flask web application, it offers a user-friendly interface for medical professionals to upload images and receive segmented results with model interpretability, enhancing diagnostic accuracy and trust in AI-assisted colorectal cancer detection.

Abstract

Colorectal cancer is one of the leading causes of cancer-related deaths worldwide, and early detection through colonoscopy is essential for effective treatment. This project presents an innovative approach for polyp segmentation in colonoscopy images using deep learning techniques. We leverage attention-guided U-Net models, including Swin-CNN, ViT-U-Net, and U-Net++, to enhance the accuracy and efficiency of polyp detection. In addition, Grad-CAM (Gradient-weighted Class Activation Mapping) is integrated into the framework to provide explainable AI, allowing clinicians to interpret the model's decision-making process. The entire system is deployed as a web application built with Flask, HTML, and CSS, where users can log in, register, and upload colonoscopy images for segmentation prediction. The model outputs the predicted mask, while Grad-CAM visualizations highlight the regions of the image that contribute most to the model’s decision. This user-friendly interface aims to assist healthcare professionals in diagnosing and monitoring colorectal conditions more effectively, ensuring a higher level of trust and transparency in AI-powered medical tools.

Keywords:

Polyp Segmentation, Colonoscopy, Deep Learning, Attention-Guided U-Net, Swin-CNN, ViT-U-Net, U-Net++, Grad-CAM, Explainable AI, Flask Web Application.

NOTE: Without the concern of our team, please don't submit to the college. This Abstract varies based on student requirements.

Block Diagram

Specifications

1.      SOFTWARE REQUIREMENS

Operating System                               :  Windows 7/8/10

Server-side Script                               :  HTML, CSS, Bootstrap & JS

Programming Language                     :  Python

Libraries                                              : Flask, Pandas, Sklearn,Pytorch,Torchvision NumPy, Seaborn, Matplotlib,pillow

IDE/Workbench                                  :  VSCode

Technology                                         :  Python 3.8+

Server Deployment                             :  Xampp Server

Database                                             :  MySQL    

 

2.      HARDWARE REQUIREMENTS

Processor                                  - I5/Intel Processor

RAM                                       - 8GB+ (min)

Hard Disk                                - 128 GB+

Key Board                               - Standard Windows Keyboard

Mouse                                      - Two or Three Button Mouse

Monitor                                    - Any

Demo Video

mail-banner
call-banner
contact-banner
Request Video