This project is a Breast Cancer Prediction Web App that utilizes machine learning to assist in diagnosing breast cancer. The model takes 29 important features as input and predicts whether the tumor is Benign (Non-Cancerous) or Malignant (Cancerous). Users can either manually enter features or upload a medical report (PDF) for automatic extraction.
- The project is built using Flask as the backend.
- Machine Learning Model: A trained model (
breast_cancer_model.pkl
) is used for prediction. - PDF Processing: Extracts required features from uploaded PDF reports using
PyMuPDF (fitz)
. - Frontend: Bootstrap and jQuery are used to provide a user-friendly interface.
git clone https://github.com/prashant-g0/breast-cancer-detection-using-machine-learning.git
cd Breast-Cancer-app
Before running the project, install the necessary dependencies:
pip install -r requirements.txt
OR
Ensure you have the following libraries installed:
pip install flask joblib numpy fitz opencv-python pandas
python app.py
Go to: http://127.0.0.1:5000 in your web browser.
Prashant Gupta
🔗 LinkedIn
📷 Instagram