--- title: Brain Stroke Detection API emoji: 🧠 colorFrom: blue colorTo: red sdk: docker app_port: 7860 pinned: false --- # Brain Stroke Detection API (CT + Clinical Data) This is a FastAPI application for detecting brain strokes using a combination of: 1. **Deep Learning (DenseNet121)** for CT Image analysis. 2. **Machine Learning (Logistic Regression)** for Structured Clinical Data. ## Endpoints - `POST /stroke-predict-struct`: Predict stroke based on clinical data (age, glucose, etc.). - `POST /stroke-predict-image`: Predict stroke based on MRI/CT images. ## Deployment Deployed on Hugging Face Spaces using Docker.