DiagnoSys is a comprehensive web application that provides advanced detection and analysis for various health conditions. This project leverages state-of-the-art machine learning algorithms to detect and diagnose COVID-19, Alzheimer's disease, breast cancer, and pneumonia using X-ray and MRI datasets.
DiagnoSys aims to revolutionize the field of medical diagnosis by utilizing deep learning techniques and image analysis to assist healthcare professionals in accurately identifying and diagnosing these conditions. By providing a user-friendly web interface, DiagnoSys enables easy uploading and analysis of medical images for efficient and reliable results.
![Screenshot 2023-07-01 at 4 29 28 PM](https://private-user-images.githubusercontent.com/78443850/250270091-609c4009-b01e-4f52-b811-91dfdb8ebe70.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwMjU1NTcsIm5iZiI6MTcyNjAyNTI1NywicGF0aCI6Ii83ODQ0Mzg1MC8yNTAyNzAwOTEtNjA5YzQwMDktYjAxZS00ZjUyLWI4MTEtOTFkZmRiOGViZTcwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTExVDAzMjczN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTlmOTVhNzk3MjlmN2U4NTdiZmQ4MjZjODgyOWY2MWE4NzFlYzczZGVkNzg1ZTkyODMyNjUwZmI1MGNiNzY4ZWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Wz5Z9sHIBScfSPKx2BrJnY6Disuhhp9ijK2z2rfs3yU)
![Screenshot 2023-07-01 at 4 29 38 PM](https://private-user-images.githubusercontent.com/78443850/250270081-0aef645c-7fc5-4587-bafe-32b431651469.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwMjU1NTcsIm5iZiI6MTcyNjAyNTI1NywicGF0aCI6Ii83ODQ0Mzg1MC8yNTAyNzAwODEtMGFlZjY0NWMtN2ZjNS00NTg3LWJhZmUtMzJiNDMxNjUxNDY5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTExVDAzMjczN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRkNzJmNTRhMGI1MzQ2ZWVkYThiMmVhZmQ3ZTdhMWI0M2QxMzQyOWRiYTZiNTAzOWJiMjAwM2FkZTcxMGY4NDgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.LAhPyq3-HUXVm4KvqlHJVARcgDx1hbyN35IFc1GYeiI)
-
COVID-19 Detection: DiagnoSys utilizes deep learning techniques to accurately detect COVID-19 from chest X-ray images. This feature can help healthcare professionals quickly identify potential COVID-19 cases and take appropriate measures.
-
Alzheimer's Disease Detection: By analyzing MRI scans, DiagnoSys can assist in the early detection of Alzheimer's disease. The advanced algorithms can identify specific patterns and indicators associated with this neurodegenerative disorder, aiding in timely diagnosis.
-
Breast Cancer Detection: DiagnoSys employs machine learning algorithms to analyze mammography images and identify signs of breast cancer. This feature can support radiologists and doctors in detecting breast cancer at its early stages, leading to more effective treatment options.
-
Pneumonia Detection: Using X-ray images, DiagnoSys can accurately detect pneumonia in patients. This feature can help medical professionals promptly identify pneumonia cases, enabling faster treatment and improved patient outcomes.
-
User-Friendly Web Interface: DiagnoSys provides a user-friendly web interface that allows healthcare professionals and researchers to easily upload and analyze medical images. The interface is designed to be intuitive, ensuring a seamless experience while interacting with the application.
To set up DiagnoSys locally, follow the steps below:
- Clone the repository:
git clone https://github.com/Karanchaudhary350/DiagnoSys
- Create a conda environment and install the required libraries:
conda create -n DiagnoSys python=3.9
conda activate DiagnoSys
pip install opencv-python numpy tensorflow scikit-learn imutils flask xgboost
- simply run the following command in the terminal:
flask run
The datasets used for training and testing the machine learning models in DiagnoSys are not included in this repository. Please refer to the following sources to obtain the necessary datasets:
- COVID-19 Dataset: [https://drive.google.com/drive/u/0/folders/1x3pOyxLgvM0bl1YePWQRlgOLi87e9dF_]
- Alzheimer's Disease Dataset: [https://www.kaggle.com/datasets/yasserhessein/dataset-alzheimer]
- Breast Cancer Dataset: [https://drive.google.com/file/d/1yVVtLvsWBJS9OxfXWq3D_OhKg-Du3ITi/view]
- Pneumonia Dataset: [https://www.kaggle.com/datasets/tolgadincer/labeled-chest-xray-images]
Ensure that you have the datasets downloaded and properly organized before running the application.
-
Launch the DiagnoSys web application by running python app.py.
-
Open your preferred web browser and navigate to http://localhost:8000.
-
Follow the on-screen instructions to upload the medical images for analysis.
-
Once the analysis is complete, the application will provide the results indicating the presence or absence of COVID-19, Alzheimer's disease, breast cancer, or pneumonia based on the uploaded images.
Contributions to enhance and expand the capabilities of DiagnoSys are welcome. If you're interested in contributing, please follow our contribution guidelines.
DiagnoSys is released under the MIT License. Feel free to use, modify, and distribute this project as permitted by the license.
DiagnoSys is an experimental project and should not be used as a substitute for professional medical advice or diagnosis. Always consult a qualified healthcare provider for accurate medical information and diagnosis.
For any questions or feedback, please contact us at karanchaudhary2288@gmail.com.