ืืฉืืืื ืฉืงืืืืช ืงืืื ืงืจืชื ืื ืืืขืืช ืืขืชืงืช ืื ืืช ืืชื > ืืืจืืื ื!
ืืื ืืขืฉืืช ืกืืจ ืืืืจืื ืืื ืืขืืื ืืฆืืจื ืืืงื, ืขืฉื ืืืืืง ืืช ืืฆืขืืื ืืืืื:
- ืคืชื ืืจืืื ื (PowerShell) ืืืื ืฉืืชื ืื ืชืื ืืจืืฉื ืฉื ืืคืจืืืงื:
cd C:\Users\Roei\Desktop\soccer_project- ืืคืขื ืืช ืืกืืืื ืืืืจืืืืืืช ืืชืงืื ื ืฉืืฆืจื ื ืืืชืืื:
.\.venv\Scripts\activate- ืืืื ืก ืืชืืงืืื ืฉื ืืืคืืืงืฆืื:
cd .venv\web_app- ืขืืฉืื, ืคืฉืื ืชืจืืฅ (ืชืขืชืืง ืืื ืชืืืื ืืืืชืจืื):
streamlit run app.pyืื ืืื! ืืืคืืืงืฆืื ืชืืืืง ืืื.
(ื"ื, ืืืืืฅ ืืืืืง ืืช ืืชืืงืืื ืืฉื .venv ืฉื ืืฆืืช ืืืขืืช ืืชืื web_app ืืื ืฉืืื ืื ืชืขืฉื ืื ืืชื ืืฉืืืืช ืืขืชืื).
A powerful, interactive web application built with Streamlit to analyze football match data dynamically.
- 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.
Make sure you have Python installed (3.8+ recommended).
- Clone this repository:
git clone https://github.com/roiky/Passmap_webapp.git
cd Passmap_webapp- Create a virtual environment (optional but highly recommended):
python -m venv .venv
# On Windows:
.venv\Scripts\activate
# On Mac/Linux:
source .venv/bin/activate- Install the required dependencies:
pip install -r requirements.txtStart the Streamlit application by running the following command in your terminal:
python -m streamlit run app.pyThe dashboard will automatically open in your default web browser at http://localhost:8501.
- Enter a valid WhoScored Match ID, along with the League and Season.
- Click Generate Maps.
- Use the sidebar to filter times, toggle substitutes, or change themes!