https://github.com/srp4214/playpulse_player_tracking
https://github.com/srp4214/playpulse_player_tracking
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/srp4214/playpulse_player_tracking
- Owner: SRP4214
- Created: 2025-02-01T07:11:02.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-02-01T07:16:04.000Z (5 months ago)
- Last Synced: 2025-02-01T08:21:43.211Z (5 months ago)
- Language: Python
- Size: 13.7 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐ฏ PlayPulse: Analyze like a pro, strategize like a champion!๐
## ๐ Overview
**PlayPulse** is an advanced tool that extracts key insights from a recorded gameplay video(ex. Valorant).It leverages YOLOv8, Computer Vision, OCR, and Deep Learning to provide in-depth player performance analysis. The tool presents intuitive visuals, round-wise summaries, and even generates highlight videos! ๐ฅ๐ฅ## ๐ฅ Input
- Recorded gameplay video ๐ฎ## ๐ ๏ธ Methodology
1. **UI Creation:** Built using Streamlit for an interactive and aesthetic interface.
2. **Frame Extraction:** Extract frames at 2-second intervals from the video.
3. **Object Detection & OCR:** Apply YOLOv8, EasyOCR, and Image Processing to extract event details.
4. **Mapping Events:** Generate a map of [Killer -> Victim -> Timestep] from extracted data.
5. **Player Performance Metrics:** Calculate:
- โ Total Kills
- โ Total Deaths
- ๐ฏ Headshots & Headshot %
- โ Kill-Death Ratio
- ๐ฏ Clutch
6. **Summary:** Generate a timeline of key events ๐
7. **Data Visualization:** Plot Kills vs. Timestep graph ๐
8. **Highlight Video:** Create a short highlight video with key moments ๐ฅ๐ฌ
9. **Weapon Identification:** Use a custom CNN model to classify playerโs weapon ๐ซ
10. **SWOT Analysis:** Generate strengths, weaknesses, opportunities, and threats of the player ๐
11. **AI-Powered Insights:** Use Gemini API to generate engaging content โจ
## ๐จ Features
- ๐ Comprehensive Player Stats
- ๐น Auto-Generated Highlight Video
- ๐บ Chronological Summary
- ๐ซ Weapon Detection with CNN
- ๐ Headshot Accuracy & Performance Trends
- ๐ค AI-Powered Insights & Content Generation## ๐๏ธ Tech Stack
- Python ๐
- Streamlit ๐ฅ๏ธ
- YOLOv8 ๐ง
- EasyOCR ๐
- OpenCV ๐
- Deep Learning (CNN) ๐๏ธ
- Gemini API
- ffmpeg ๐ธ
- PyTorch ๐
- Makesense AI annotator ๐ธ## ๐ธ Screenshots
# Home Page

# Player stats

# Graph

# SWOT

# Highlight
## ๐ง Installation & Usage
1๏ธโฃ Clone the repo:
```bash
git clone https://github.com/SRP4214/PlayPulse_Player_Tracking.git
cd PlayPulse_Player_Tracking
```2๏ธโฃ Install dependencies:
```bash
pip install -r requirements.txt
```3๏ธโฃ Run the Streamlit app:
```bash
streamlit run app.py
```
Future Scopes ๐1๏ธโฃ Weapon Performance Metrics
Description: Accurate detection for weapons along with its performance and accuracy.2๏ธโฃ Multi-Game Support
Description: Extend analysis to other games.3๏ธโฃ Roundwise game analysis
Description: Highlight round wins