An AI-powered web application for classifying oral diseases using deep learning with medicine recommendations.
Try it now: https://huggingface.co/spaces/MubashirUlHassan/Oral-Disease-RAG-Classifier
- 🔍 Disease Classification - Classifies 7 types of oral diseases
- 💊 Medicine Recommendations - RAG-powered treatment suggestions
- 📊 Confidence Scores - Probability for each condition
- ⚡ Fast Inference - Results in ~1 second
| Code | Condition | Description |
|---|---|---|
| CaS | Canker Sores | Painful mouth ulcers |
| CoS | Cold Sores | Herpes simplex virus blisters |
| Gum | Gingivostomatitis | Gum and mouth inflammation |
| MC | Mouth Cancer | Malignant oral tumors |
| OC | Oral Cancer | Cancer in oral cavity |
| OLP | Oral Lichen Planus | Chronic inflammatory condition |
| OT | Oral Thrush | Fungal infection (Candida) |
# Clone the repository
git clone https://github.com/Mubashir-Ul-Hassan/Oral-Disease-RAG-Classifier.git
cd Oral-Disease-RAG-Classifier
# Install dependencies
pip install -r requirements.txt
# Run the app
python app.pyOpen http://localhost:7860 in your browser.
| Metric | Value |
|---|---|
| Architecture | InceptionResNetV2 |
| Training Accuracy | 99.51% |
| Dataset Size | 5,143 images |
| Classes | 7 oral conditions |
- 📤 Upload an image of an oral condition
- 🔍 Click "Analyze"
- 📊 View the diagnosis and confidence scores
- 💊 Get medicine recommendations
This is an AI-powered tool for informational purposes only. It is NOT a substitute for professional medical diagnosis and treatment. Always consult a qualified healthcare professional for any medical concerns.
Based on research: "Mouth and oral disease classification using InceptionResNetV2 method"
Mubashir Ul Hassan
- 🤗 Hugging Face
- 🐙 GitHub
⭐ If you found this helpful, please star the repository!