ForensicAI is a comprehensive video analysis system that combines object detection and forensic intelligence powered by large language models (LLMs).
- Real-time Video Analysis: Process live camera feeds or existing video files
- Object Detection: Identify and track objects using YOLO
- LLM-Powered Insights: Generate descriptions and insights for detected scenes
- Forensic Timeline: Visualize events in a chronological timeline
- Interactive Dashboard: Modern React frontend with real-time updates
- Frame Analysis: Ask questions about specific video frames
The project consists of two main components:
- Backend: Python-based server using Flask for API endpoints and video processing
- Frontend: React application with Tailwind CSS for the user interface
- Python 3.8 or higher
- Node.js 16 or higher
- npm or yarn
Use the provided installation script:
./install.shcd backend
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
cp .env.example .env
# Edit .env with your configurationcd frontend
npm install# From the frontend directory
npm run startThis will start both the backend Flask server and the frontend Vite development server.
Backend:
cd backend
source venv/bin/activate
python run.py --prodFrontend:
cd frontend
npm run buildThe built frontend will be served by the Flask server at http://localhost:5000
See backend/README.md for detailed API documentation.
MIT License