Skip to content

πŸ₯ DICOM Flask App – AI-Powered Lesion Detection A Flask-based web app for uploading, processing, and analyzing DICOM medical images. Uses DeepLesion (Faster R-CNN) for lesion detection and ResNet50 for classification. Features a multi-tab UI with sidebar navigation. A sample DICOM file is included for testing!

Notifications You must be signed in to change notification settings

jcaperella29/Dicom_processing_flask_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

DICOM Flask App – Multi-Tab Lesion Detector πŸ“Œ Overview This Flask web app allows users to upload DICOM files, detect lesions using DeepLesion (Faster R-CNN), and classify them with ResNet50. The UI features a multi-tab layout with a sidebar for smooth navigation.

βœ… Upload & Process DICOM Files βœ… Detect & Classify Lesions Automatically βœ… Multi-Tab UI with Sidebar Navigation βœ… Sample DICOM File Included for Testing

πŸ›  Installation & Setup 1️⃣ Clone the Repository bash Copy Edit git clone https://github.com/YOUR_GITHUB_USERNAME/DICOM-Flask-App.git cd DICOM-Flask-App 2️⃣ Install Dependencies bash Copy Edit pip install -r requirements.txt (If requirements.txt is missing, install manually:)

bash Copy Edit pip install flask torch torchvision pydicom numpy matplotlib opencv-python 3️⃣ Run the Flask App bash Copy Edit python app.py Then, open http://127.0.0.1:5000/ in your browser.

πŸ“‚ Project Structure graphql Copy Edit DICOM-Flask-App/ │── static/ # CSS & processed images β”‚ β”œβ”€β”€ style.css # UI Styling (Velvet Room Theme) │── templates/ # HTML Templates for Flask β”‚ β”œβ”€β”€ index.html # Main UI (Tabs: Upload, Results) │── uploads/ # Stores uploaded DICOM files │── sample.dcm # Sample DICOM file for testing βœ… │── app.py # Flask Application │── requirements.txt # Dependencies │── README.md # This documentation πŸš€ How to Use 1️⃣ Upload a DICOM File Go to http://127.0.0.1:5000/ Click "Upload DICOM", select a file, and click "Upload & Process" 2️⃣ View Results Click the "Results" tab to see detected lesions. Lesions are shown with bounding boxes and classified as Tumor, Cyst, Hemorrhage, or Inflammation. πŸ“ Sample DICOM File A sample DICOM file (se.dcm) is included in the repo for convenience.

If you don’t have a DICOM file, use this one for testing. πŸ”₯ Future Upgrades πŸ”Ή Grad-CAM Heatmaps – Highlight lesion focus areas. πŸ”Ή DICOM Export – Save processed images back into DICOM format. πŸ”Ή Automatic Report Generation – AI-generated text reports for findings.

About

πŸ₯ DICOM Flask App – AI-Powered Lesion Detection A Flask-based web app for uploading, processing, and analyzing DICOM medical images. Uses DeepLesion (Faster R-CNN) for lesion detection and ResNet50 for classification. Features a multi-tab UI with sidebar navigation. A sample DICOM file is included for testing!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published