
A deep learning model for detecting brain tumors from MRI scans.
This project leverages deep learning techniques to classify brain tumors from MRI images. Using Convolutional Neural Networks (CNNs), the model predicts whether an MRI scan indicates a tumor or not.
- Pretrained model using TensorFlow/Keras
- Image preprocessing with OpenCV & PIL
- Augmentation to improve model robustness
- CNN architecture for classification
- Performance evaluation with accuracy & confusion matrix
- π Python
- π§ TensorFlow, Keras
- π NumPy, Pandas, Matplotlib
- π· OpenCV, PIL
precision recall f1-score support
0 0.91 0.85 0.88 150
1 0.83 0.85 0.84 153
2 0.97 0.97 0.97 203
3 0.95 0.99 0.97 150
accuracy 0.92 656
macro avg 0.92 0.92 0.92 656
weighted avg 0.92 0.92 0.92 656
Feel free to open an issue or submit a pull request to improve the project!
This project is licensed under the MIT License.