An AI-powered assistant that helps radiologists analyze medical images and generate preliminary reports.
- 🔍 Automated Anomaly Detection: Identify and highlight potential anomalies in medical images
- 📝 AI-Generated Reports: Create structured preliminary radiology reports
- 🔎 Similar Case Retrieval: Find similar cases to aid diagnosis
- 👨⚕️ Radiologist-Friendly Interface: Intuitive UI designed for medical professionals
- Overview
- Demo
- Installation
- Usage
- Architecture
- Technologies
- Project Structure
- Contributing
- License
- Acknowledgements
The AI-Powered Medical Imaging Report Assistant combines computer vision and natural language processing to assist radiologists in analyzing medical images and generating preliminary reports. The system detects potential anomalies in images, highlights them visually, and generates structured reports that can be reviewed and edited by medical professionals.
- Python 3.8 or higher
- pip package manager
-
Clone the repository:
git clone https://github.com/Asfandyar1213/medical-imaging-report-assistant.git cd medical-imaging-report-assistant
-
Install dependencies:
pip install -r requirements.txt
-
Run the application:
python run.py
-
Access the web interface at http://localhost:8501
- Upload Medical Images: Support for DICOM, JPG, and PNG formats
- View Analysis: AI automatically detects and highlights potential anomalies
- Review Generated Report: Edit AI-generated reports before finalizing
- Explore Similar Cases: View similar cases to aid in diagnosis
- Export Reports: Save or export the final report
The system consists of three main components:
- Image Processing Module: Analyzes medical images to detect anomalies
- Report Generation Module: Creates structured reports based on findings
- Retrieval System: Finds similar cases from a knowledge base
- Computer Vision: MONAI, PyTorch
- Natural Language Processing: Hugging Face Transformers
- Vector Database: ChromaDB
- Web Interface: Streamlit
- Medical Image Processing: PyDICOM, OpenCV
.
├── app.py # Main Streamlit application
├── config.py # Configuration settings
├── requirements.txt # Project dependencies
├── run.py # Application runner script
├── docs/ # Documentation and images
├── models/
│ ├── image_processor.py # Image analysis module
│ ├── report_generator.py # Report generation module
│ └── retrieval.py # Similar case retrieval module
├── utils/
│ ├── dicom_utils.py # DICOM file handling utilities
│ └── visualization.py # Image visualization utilities
└── data/
├── sample_images/ # Sample medical images
└── knowledge_base/ # Vector database storage
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- MONAI for medical imaging tools
- Hugging Face for NLP models
- Streamlit for the web interface
- Open medical imaging datasets used for testing
Made for advancing healthcare technology