How ritesh3280/bitcamp25 works
ForensicAI analyzes live camera feeds and uploaded video, detects objects, selects and summarizes keyframes, and presents findings for forensic review. Its React interface exposes live analysis, session/frame browsing and chat, anomaly review, and a timeline; the frontend API communicates with the Flask backend. The excerpts show the backend entry point, processing components, and some frontend routes and API use. Other page-to-backend connections and the semantic-search implementation are not fully shown, so those relationships are omitted rather than inferred.
Main entry points: index.jsx Page routing · main4.py Video processor · main.py API server · api.js API client
Components 19
Video analysis backend
- API server
backend/frames/main.py - Session artifacts
backend/frames/video_insights - Vector search
backend/frames/pinecone_utils.py
Capture and processing
- Video processor
backend/frames/main4.py - Object detection
backend/frames/main4.py - Keyframe selection
backend/frames/main4.py - LLM summaries
backend/frames/main4.py
Frontend application
- React app
frontend/src/App.jsx - Page routing
frontend/src/routes/index.jsx - Dashboard layout
frontend/src/layouts/MainLayout.jsx - API client
frontend/src/services/api.js
Forensic review
- Live analysis
frontend/src/pages/LiveAnalysis.jsx - Frame explorer
frontend/src/pages/VideoFrames.jsx - Forensic timeline
frontend/src/pages/Timeline.jsx - Anomaly review
frontend/src/pages/Anomalies.jsx - Dashboard
frontend/src/pages/Dashboard.jsx - Settings
frontend/src/pages/Settings.jsx
Other components
- Investigator
- Camera or video
Connections 22
- Investigator → React app: uses
- React app → Page routing: renders routes
frontend/src/App.jsx - Page routing → Dashboard layout: wraps dashboard
frontend/src/routes/index.jsx - Page routing → Live analysis: routes to
frontend/src/routes/index.jsx - Page routing → Frame explorer: routes to
frontend/src/routes/index.jsx - Page routing → Forensic timeline: routes to
frontend/src/routes/index.jsx - Page routing → Anomaly review: routes to
frontend/src/routes/index.jsx - Page routing → Dashboard: routes to
frontend/src/routes/index.jsx - Page routing → Settings: routes to
frontend/src/routes/index.jsx - Dashboard layout → Live analysis: hosts page
frontend/src/routes/index.jsx - Live analysis → API client: requests data
frontend/src/pages/LiveAnalysis.jsx - Frame explorer → API client: requests frames
frontend/src/pages/VideoFrames.jsx - API client → API server: calls API
README.md - Investigator → Camera or video: provides
README.md - Camera or video → Video processor: processed by
README.md - API server → Video processor: dispatches processing
backend/frames/main.py - Video processor → Object detection: detects objects
README.md - Video processor → Keyframe selection: selects frames
backend/frames/main4.py - Video processor → LLM summaries: summarizes frames
backend/frames/main4.py - API server → Session artifacts: reads session data
backend/frames/main.py - Video processor → Session artifacts: writes keyframes
backend/frames/main4.py - API server → Vector search: uses helper
backend/frames/main.py