A machine-learning-powered web application for diagnosing medical conditions based on image inputs.
The Diagnostic Assistant is a Flask-based web application that utilizes a deep learning model to analyze medical images and provide diagnostic insights. The system allows users to upload medical images, process them through a trained model, and receive an evaluation. The results are displayed on an interactive UI with additional options for reviewing and printing the diagnosis.
- Image Upload: Users can upload medical images for diagnosis.
- Deep Learning Model: The application employs a pre-trained Keras model for image classification.
- Flask Web Server: Manages image processing, model inference, and result rendering.
- Interactive UI: Built with HTML, CSS, and JavaScript to provide a smooth user experience.
- Review and Print: Users can review the diagnosis and print the results for documentation.
Diagnostic_Assistant/
│── backend/
│ │── app.py (Main Flask application)
│ │── app1.py (Additional backend functionalities)
│ │── requirements.txt (Dependencies for the project)
│── static/
│ │── script.js (Frontend logic)
│ │── styles.css (Styling for UI)
│── templates/
│ │── index.html (Main UI)
│ │── review.html (Review page)
│ │── print.html (Print diagnosis)
│── uploads/ (Uploaded images)
│── venv/ (Virtual environment)
│── malaria_detect_model.keras (Pre-trained ML model)
git clone https://github.com/lakshug23/diagnostic_assistant.git
cd Diagnostic_Assistant
python3 -m venv venv
source venv/bin/activate # On Windows use: venv\Scripts\activate
pip install -r requirements.txt
python app.py
The Flask server will start at http://127.0.0.1:5000/
. Open this URL in your browser to access the Diagnostic Assistant.
- Open the web app in your browser.
- Upload a medical image (e.g., malaria-infected blood sample).
- Click on Diagnose to analyze the image.
- View the results and proceed to Review or Print the diagnosis.
- Backend: Python, Flask
- Frontend: HTML, CSS, JavaScript
- Machine Learning: Keras, TensorFlow
- Deployment: Local server via Flask
- Implement a more advanced ML model for better accuracy.
- Add user authentication and history tracking.
- Enable cloud-based model inference for faster processing.