How saran2006a/deity_identification works
DeityVision AI is a South Indian sculpture-recognition and temple-heritage application. A visitor signs in, uploads or captures a sculpture, receives deity predictions and iconographic context, then can explore related temples or manage saved scans. Flask owns the API and delegates persistence to SQLite; the React studio presents scanning, temple, shastra, history, and telemetry capabilities. The README documents the API capabilities; some UI and backend implementation excerpts are incomplete, so uncertain links are omitted or marked unverified.
Main entry points: app.py Flask API · App.jsx Application routing · AuthContext.jsx Sign-in state · LandingPage.jsx Landing page
Components 22
Web experience
- Application routing
frontend/src/App.jsx - Sign-in state
frontend/src/context/AuthContext.jsx - Landing page
frontend/src/components/LandingPage.jsx - About page
frontend/src/components/AboutPage.jsx - Navigation
frontend/src/components/Navbar.jsx - Sculpture scanner
frontend/src/components/StudioMainStage.jsx - Studio drawer
frontend/src/components/StudioDrawer.jsx - Landing visuals
frontend/src/components/GoldParticleCanvas.jsx - Scanner view
frontend/src/components/ScannerView.jsx - Analytics view
frontend/src/components/AnalyticsView.jsx - Scan history
frontend/src/components/HistoryView.jsx
Recognition API
- Flask API
app.py - Image inference
app.py - Model training
train.py - Model evaluation
evaluate.py - CLI prediction
predict.py
Heritage knowledge
- Iconography guides
frontend/src/components/EncyclopediaView.jsx - Temple explorer
frontend/src/components/TempleExplorerView.jsx - Temple dossier
frontend/src/components/TempleModal.jsx - Deity and temple data
temple_data.py
Accounts and records
- SQLite persistence
db.py
Other components
- Visitor
Connections 19
- Visitor → Application routing: opens
frontend/src/App.jsx - Application routing → Sign-in state: provides auth
frontend/src/App.jsx - Application routing → Landing page: routes to
frontend/src/App.jsx - Application routing → About page: routes to
frontend/src/App.jsx - Application routing → Navigation: renders
frontend/src/App.jsx - Application routing → Sculpture scanner: routes to
frontend/src/App.jsx - Application routing → Studio drawer: renders
frontend/src/App.jsx - Landing page → Landing visuals: renders
frontend/src/components/LandingPage.jsx - Sculpture scanner → Flask API: requests predictions
README.md - Studio drawer → Flask API: requests vault data
README.md - Flask API → Image inference: runs inference
app.py - Flask API → SQLite persistence: reads and writes
app.py - Flask API → Deity and temple data: uses metadata
app.py - Temple explorer → Temple dossier: opens dossier
frontend/src/components/TempleExplorerView.jsx - Scan history → Flask API: requests scan records
- Analytics view → Flask API: requests statistics
- Sign-in state → Flask API: calls auth endpoints
- Model training → Model evaluation: evaluates model
- CLI prediction → Image inference: uses prediction logic