Skip to content

roiky/Passmap_webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

20 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Tactical Soccer Dashboard โšฝ

๐Ÿšจ ืœืจื•ืขื™: ืžื“ืจื™ืš ื”ืคืขืœื” ืžื“ื•ื™ืง ืž-0 (ื‘ืœื™ ืชืงืœื•ืช!)

ื”ืฉื’ื™ืื” ืฉืงื™ื‘ืœืช ืงื•ื“ื ืงืจืชื” ื›ื™ ื‘ื˜ืขื•ืช ื”ืขืชืงืช ื’ื ืืช ื”ืชื• > ืœื˜ืจืžื™ื ืœ! ื›ื“ื™ ืœืขืฉื•ืช ืกื“ืจ ื•ืœื’ืจื•ื ืœื–ื” ืœืขื‘ื•ื“ ื‘ืฆื•ืจื” ื—ืœืงื”, ืขืฉื” ื‘ื“ื™ื•ืง ืืช ื”ืฆืขื“ื™ื ื”ื‘ืื™ื:

  1. ืคืชื— ื˜ืจืžื™ื ืœ (PowerShell) ื•ื•ื“ื ืฉืืชื” ื‘ื ืชื™ื‘ ื”ืจืืฉื™ ืฉืœ ื”ืคืจื•ื™ืงื˜:
cd C:\Users\Roei\Desktop\soccer_project
  1. ื”ืคืขืœ ืืช ื”ืกื‘ื™ื‘ื” ื”ื•ื™ืจื˜ื•ืืœื™ืช ื”ืชืงื™ื ื” ืฉื™ืฆืจื ื• ื‘ื”ืชื—ืœื”:
.\.venv\Scripts\activate
  1. ื”ื™ื›ื ืก ืœืชื™ืงื™ื™ื” ืฉืœ ื”ืืคืœื™ืงืฆื™ื”:
cd .venv\web_app
  1. ืขื›ืฉื™ื•, ืคืฉื•ื˜ ืชืจื™ืฅ (ืชืขืชื™ืง ื‘ืœื™ ืชื•ื•ื™ื ืžื™ื•ืชืจื™ื):
streamlit run app.py

ื–ื” ื”ื›ืœ! ื”ืืคืœื™ืงืฆื™ื” ืชื™ื“ืœืง ืžื™ื“. (ื“"ื, ืžื•ืžืœืฅ ืœืžื—ื•ืง ืืช ื”ืชื™ืงื™ื™ื” ื‘ืฉื .venv ืฉื ืžืฆืืช ื‘ื˜ืขื•ืช ื‘ืชื•ืš web_app ื›ื“ื™ ืฉื”ื™ื ืœื ืชืขืฉื” ืœืš ื”ืชื ื’ืฉื•ื™ื•ืช ื‘ืขืชื™ื“).

A powerful, interactive web application built with Streamlit to analyze football match data dynamically.

Features

  • Time Filtering: Analyze match events by selecting specific minute ranges dynamically.
  • Passing Networks: Visualize team passing combinations, pass volumes, and central hubs.
  • Pass Sonars ๐Ÿ“ก: Radar-style wedges showing directional passing tendencies for each player.
  • Team Shape ๐Ÿ›ก๏ธ: Convex hull visualizations showing the outfield shape (width, height, and line height).
  • Shot Maps: Map of all shots and goals.
  • Heatmaps: Density maps showing where a team controlled the game.
  • Time-lapse Animation ๐ŸŽฌ: Automatically generate an animated GIF of the passing network over 15-minute intervals.
  • High-Quality Export: One-click downloads for every visualization generated.

Prerequisites

Make sure you have Python installed (3.8+ recommended).

Installation

  1. Clone this repository:
git clone https://github.com/roiky/Passmap_webapp.git
cd Passmap_webapp
  1. Create a virtual environment (optional but highly recommended):
python -m venv .venv

# On Windows:
.venv\Scripts\activate

# On Mac/Linux:
source .venv/bin/activate
  1. Install the required dependencies:
pip install -r requirements.txt

How to Run

Start the Streamlit application by running the following command in your terminal:

python -m streamlit run app.py

The dashboard will automatically open in your default web browser at http://localhost:8501.

Usage

  1. Enter a valid WhoScored Match ID, along with the League and Season.
  2. Click Generate Maps.
  3. Use the sidebar to filter times, toggle substitutes, or change themes!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages