How arulmani1826/ai_ufdr works
UFDR AI is a Flask-based forensic analysis dashboard. Investigators upload UFDR, CSV, or JSON data; the application identifies datasets, preprocesses them, runs forensic analysis, and presents findings, with chat and PDF reporting as additional capabilities. The graph preserves the documented analysis branches. Source excerpts show parts of the upload and processing flow; some feature wiring is documented only in the README, so those relationships are marked dashed or omitted where ownership is unclear.
Main entry points: app.py Flask application · index.html Dashboard interface · models_ai.py Forensic chatbot · reporting.py Summaries and PDF
Components 13
Web application
- Flask application
app/app.py - Dashboard interface
app/templates/index.html - Dashboard styles
app/static/styles.css
Data processing
- Dataset detection
utils/data_processing.py - Record preprocessing
utils/data_processing.py
Forensic analysis
- Suspicion detection
utils/models_ai.py - ML and GPS analysis
utils/models_ai.py - Network analysis
utils/models_ai.py - Risk assessment
utils/models_ai.py
Investigation outputs
- Forensic chatbot
utils/models_ai.py - Summaries and PDF
utils/reporting.py
Other components
- Investigator
- Groq API
Connections 13
- Investigator → Flask application: uploads data
README.md - Flask application → Dashboard interface: renders interface
app/app.py - Dashboard interface → Dashboard styles: uses styles
- Flask application → Dataset detection: detects datasets
app/app.py - Flask application → Record preprocessing: preprocesses records
app/app.py - Flask application → Suspicion detection: flags activity
app/app.py - Flask application → ML and GPS analysis: runs analysis
README.md - Flask application → Network analysis: builds graph
README.md - Flask application → Risk assessment: calculates risk
README.md - Flask application → Forensic chatbot: serves chat
README.md - Forensic chatbot → Groq API: queries model
README.md - Flask application → Summaries and PDF: generates reports
README.md - Summaries and PDF → Investigator: provides PDF
README.md