A modern, AI-powered web application for detecting brain tumors from MRI scans with 91% accuracy.
- High Accuracy: Uses a custom CNN model with 91% accuracy.
- Instant Analysis: Real-time inference using FastAPI.
- Smart Preprocessing: Automatic brain region cropping and image enhancement.
- Modern UI: Clean, medical-grade interface built with React and TailwindCSS.
- Secure: Privacy-focused design with local processing capability.
- Frontend: React, Vite, TypeScript, TailwindCSS, Framer Motion
- Backend: FastAPI, TensorFlow/Keras, OpenCV
- Model: Convolutional Neural Network (CNN)
- Python 3.8+
- Node.js 16+
cd backend
pip install -r requirements.txt
python main.pyThe API will be available at http://localhost:8000.
cd frontend
npm install
npm run devThe web app will be available at http://localhost:5173.
- POST /predict: Upload an image file to get a prediction.
- GET /health: Check API health status.
This tool is for educational and research purposes only. It is not intended to replace professional medical diagnosis.