A computer vision-based tool for analyzing Valorant gameplay videos, focusing on kill feed detection and weapon tracking using YOLO models.
- ๐ Detects and parses kill events from gameplay footage
- ๐ฅ Tracks killer, victim, weapon used, and special events (headshots, wallbangs)
- ๐ Generates detailed scoreboard statistics
- ๐จ Supports team color detection and character identification
- ๐ Tracks weapon usage throughout the game
- ๐ฏ Identifies 19 different weapons including:
- ๐น Primary weapons (Vandal, Phantom, Operator, etc.)
- ๐ซ Secondary weapons (Classic, Shorty, Sheriff, etc.)
- โ๏ธ Melee weapons
- ๐ Generates weapon usage statistics and patterns
- Computer Vision: OpenCV for video processing
- Object Detection: YOLO models for:
- Kill feed detection
- Weapon identification
- Character recognition
- Data Processing:
- Kill event parsing
- Weapon tracking
- Scoreboard generation
- API: Flask server for video upload and analysis
- Video upload interface
- Results visualization
- Real-time processing status
โโโ server/
โ โโโ models/ # YOLO model files
โ โโโ killlfeed.py # Kill feed detection and parsing
โ โโโ weapon_tracker.py # Weapon usage tracking
โ โโโ color_detection.py # Team color detection
โ โโโ constants.py # Game constants and mappings
โ โโโ app.py # Flask API server
โ
โโโ client/
โโโ app/ # Next.js application
โโโ lib/ # Utility functions
โโโ public/ # Static assets-
Install Dependencies
# Backend cd server pip install -r requirements.txt # Frontend cd client npm install
-
Configure Models
- Place YOLO model files in
server/models/ - Ensure correct model paths in
config.py
- Place YOLO model files in
-
Start Servers
# Backend python app.py # Frontend npm run dev
- Upload a Valorant gameplay video through the web interface
- The system will:
- Process the video frame by frame
- Detect and parse kill events
- Track weapon usage
- Generate statistics
- View the analysis results including:
- Kill feed events
- Weapon usage patterns
- Player statistics
- Python 3.8+
- Node.js 18+
- FFmpeg
- CUDA-capable GPU (recommended for faster processing)
- YOLO model files for:
- Kill feed detection
- Weapon identification
- Character recognition
The project uses:
- YOLOv8 for object detection
- OpenCV for video processing
- Flask for API server
- Next.js for frontend
- TypeScript for type safety