An open API service indexing awesome lists of open source software.

https://github.com/srp4214/playpulse_player_tracking


https://github.com/srp4214/playpulse_player_tracking

Last synced: 3 months ago
JSON representation

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 โœจ

![Summary Chart](image/MINed.jfif)
## ๐ŸŽจ 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
![Home Page](image/1.jfif)
# Player stats
![Player stats](image/2.jfif)
# Graph
![Graph](image/3.jfif)
# SWOT
![SWOT](image/4.jfif)
# Highlight
![Highlight](image/5.jfif)

## ๐Ÿ”ง 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