How saurabh11072004/dental-x-ray-gen-ai works
DentaMind AI is a local research application for explainable dental-radiograph analysis, with a React interface, FastAPI services, and a Python ML library. The main user workflow is to upload or select an image, run analysis, inspect uncertainty and findings, then review regions and generate an unconfirmed report. Research capabilities also include annotation, active learning, training, experiments, and model registration. Edges reflect README-documented capabilities and the sampled wiring; unsampled service internals are not inferred.
Main entry points: pipeline.py Analysis pipeline · container.py Service container · main.py API application · api.js API client
Components 22
User interface
- Application shell
frontend/src/App.jsx - Image analysis
frontend/src/pages/Analysis.jsx - Region review
frontend/src/components/RegionReview.jsx - API client
frontend/src/services/api.js
Application API
- API application
backend/main.py - Request schemas
backend/schemas/models.py - Service container
backend/services/container.py
Image analysis
- Analysis pipeline
backend/services/pipeline.py - ML pipeline
src/dentexmodel/pipeline.py - Dental models
src/dentexmodel/models - Uncertainty scoring
src/dentexmodel/uncertainty/measures.py - Tooth numbering
src/dentexmodel/inference/tooth_numbering.py
Research workflow
- Review audit trail
src/dentexmodel/annotation/reviews.py - Active learning
src/dentexmodel/active_learning/selection.py - Annotation integration
src/dentexmodel/annotation/labelstudio.py - Model training
src/dentexmodel/training/trainers.py - Experiments
backend/services/experiments.py - Model registry
src/dentexmodel/inference/registry.py - Multilingual reports
src/dentexmodel/reporting/i18n.py
Runtime platform
- Metadata database
src/dentexmodel/storage.py - Runtime configuration
src/dentexmodel/config.py
Other components
- Research user
Connections 22
- Research user → Application shell: uses
README.md - Application shell → Image analysis: routes to
frontend/src/App.jsx - Image analysis → API client: requests analysis
- Region review → API client: submits decisions
frontend/src/components/RegionReview.jsx - API client → API application: calls API
- API application → Service container: routes requests
- API application → Request schemas: validates inputs
- Service container → Analysis pipeline: creates service
backend/services/container.py - Analysis pipeline → ML pipeline: runs analysis
backend/services/pipeline.py - Analysis pipeline → Uncertainty scoring: computes signals
backend/services/pipeline.py - Analysis pipeline → Tooth numbering: numbers teeth
backend/services/pipeline.py - ML pipeline → Model registry: uses registry
src/dentexmodel/pipeline.py - Region review → Review audit trail: records review
- Research user → Active learning: selects cases
README.md - Research user → Annotation integration: labels cases
README.md - Research user → Model training: starts training
README.md - Research user → Experiments: runs experiments
README.md - Research user → Multilingual reports: requests report
README.md - Service container → Metadata database: stores metadata
- Service container → Runtime configuration: uses settings
- Model training → Model registry: registers models
- Analysis pipeline → Dental models: runs checkpoints