Skip to content

πŸ§ πŸ”¬Deep Learning app for real-time colon polyp detection and analysis (Our Graduation Project from FCAI, AI department).

License

Notifications You must be signed in to change notification settings

lolooppo/colonoscopy-polyp-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🩺 Polyp Detection AI Web App

Welcome to your AI-powered polyp detection tool for colonoscopy images and videos! πŸš€

✨ Features

  • πŸ–ΌοΈ Image & Video Upload: Detect polyps in images and videos
  • πŸŽ₯ Live Stream Analysis: Real-time polyp detection from camera
  • ⚑ Fast & Accurate: Deep learning model (PyTorch)
  • 🌐 Modern Web UI: Easy-to-use, responsive interface

πŸš€ Quick Start

  1. Install dependencies
    pip install -r requirements.txt
  2. Run the app
    python app.py
  3. Open in browser
    • Home: http://localhost:5000/
    • Upload Image: /upload.html
    • Upload Video: /upload_video.html
    • Live Stream: /live_stream.html

πŸ—‚οΈ Project Structure

GP_APP/
β”œβ”€β”€ app.py                # Main Flask app
β”œβ”€β”€ model/
β”‚   β”œβ”€β”€ polyp_det.py      # Model code
β”‚   └── best_polyp_segmentation_model_e15.pth  # Trained weights
β”œβ”€β”€ templates/
β”‚   β”œβ”€β”€ upload.html
β”‚   β”œβ”€β”€ upload_video.html
β”‚   └── live_stream.html
β”œβ”€β”€ index.html            # Home page
β”œβ”€β”€ assets/               # CSS & images
β”œβ”€β”€ requirements.txt      # Python dependencies
└── README.md

πŸ› οΈ Tech Stack

  • Python, Flask, PyTorch, OpenCV
  • HTML, CSS, JavaScript

πŸ’‘ Tips

  • Model and code are separated for clarity
  • All HTML except index.html is in templates/
  • Static files are in assets/

πŸ“¬ Feedback & Contributions

Pull requests and feedback are welcome!


Project Documents

Early detection saves lives! 🩺✨

About

πŸ§ πŸ”¬Deep Learning app for real-time colon polyp detection and analysis (Our Graduation Project from FCAI, AI department).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published