An open API service indexing awesome lists of open source software.

https://github.com/jcaperella29/dicom_processing_flask_app

πŸ₯ 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!
https://github.com/jcaperella29/dicom_processing_flask_app

ai-healthcare computer-vision dicom faster-rcnn flask healthcare-ai image-processing lesion-detection medical-imaging python pytorch radiology reset

Last synced: 3 months ago
JSON representation

πŸ₯ 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!

Awesome Lists containing this project

README

        

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.