Spaces:
Sleeping
Sleeping
metadata
title: TB Detection with AST
emoji: π«
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 5.49.1
app_file: app.py
pinned: true
license: mit
tags:
- tuberculosis
- medical-ai
- chest-xray
- adaptive-sparse-training
- explainable-ai
- gradcam
- healthcare
- energy-efficient
π« Tuberculosis Detection with Adaptive Sparse Training
Advanced AI for TB screening from chest X-rays - 99.3% accuracy with 89% energy savings!
π Features
- β‘ Real-time TB Detection from chest X-rays
- π¬ Grad-CAM Visualization - See what the AI focuses on
- π Confidence Scores with clinical interpretation
- π¨ Modern UI/UX - Mobile-responsive design
- π Energy Efficient - Uses only 10% of traditional computational resources
- π Built for Global Health - Runs on low-power devices
π― Model Performance
| Metric | Value |
|---|---|
| Accuracy | 99.29% |
| Energy Savings | 89.52% |
| Activation Rate | 9.38% |
| Inference Time | <2 seconds |
π How to Use
- Upload a chest X-ray image (PNG, JPG, JPEG)
- Enable Grad-CAM to see AI explanations (recommended)
- Click "Analyze X-Ray" to get results
- Review prediction, confidence, and clinical interpretation
- Examine Grad-CAM heatmaps to understand the AI's decision
β οΈ Medical Disclaimer
This is an AI screening tool designed to assist healthcare providers. It is NOT a substitute for professional medical diagnosis, laboratory confirmation, or clinical evaluation by qualified healthcare providers.
Always consult with healthcare professionals for proper diagnosis and treatment.
π¬ Technology
- Architecture: EfficientNet-B0
- Training Method: Adaptive Sparse Training (AST) with Sundew algorithm
- Dataset: TB Chest X-Ray Database (~3,500 images)
- Framework: PyTorch + Gradio
π Learn More
π¨βπ» Developer
Oluwafemi Idiakhoa
- GitHub: @oluwafemidiakhoa
- Hugging Face: @mgbam
Built with β€οΈ for sustainable AI in global health ππ