Skip to content

Mubashir-Ul-Hassan/Oral-Disease-RAG-Classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🦷 Oral Disease Classification System

Hugging Face Spaces Python License: MIT

An AI-powered web application for classifying oral diseases using deep learning with medicine recommendations.

🔗 Live Demo

Try it now: https://huggingface.co/spaces/MubashirUlHassan/Oral-Disease-RAG-Classifier


✨ Features

  • 🔍 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

🦠 Supported Conditions

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)

🚀 Quick Start

Run Locally

# 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.py

Open http://localhost:7860 in your browser.


🤖 Model Information

Metric Value
Architecture InceptionResNetV2
Training Accuracy 99.51%
Dataset Size 5,143 images
Classes 7 oral conditions

📖 How to Use

  1. 📤 Upload an image of an oral condition
  2. 🔍 Click "Analyze"
  3. 📊 View the diagnosis and confidence scores
  4. 💊 Get medicine recommendations

🛠️ Tech Stack

Python TensorFlow Gradio Hugging Face


⚠️ Disclaimer

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.


📄 Citation

Based on research: "Mouth and oral disease classification using InceptionResNetV2 method"


👤 Author

Mubashir Ul Hassan


If you found this helpful, please star the repository!

About

Oral disease diagnosis + RAG medicine recommendations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages