Pytch is an innovative open-source platform designed to revolutionize the world of soccer analytics. Developed at Texas A&M University's Department of Computer Science and Engineering, this project utilizes state-of-the-art machine learning and computer vision techniques to offer accessible, in-depth soccer match analysis to fans, analysts, and enthusiasts.
- Analytics: Pytch provides a range of soccer analytics including shotmaps, heatmaps, and passmaps.
- User Uploads: Users can upload soccer footage to receive detailed analytics.
- Custom Visualizations: Supports custom visualizations, allowing users to tailor their analytics experience.
- Open-Source: Encourages community collaboration and innovation.
- Ensure you have Python and Node.js installed on your machine.
- Basic knowledge of machine learning and computer vision concepts is beneficial.
-
cd frontend -
Fill out env vars:
cp .env.example .env -
Install packages:
npm installorpnpm i -
database setup
- Have docker running
- start server:
docker-compose up -d - if you want to stop:
docker-compose downor in the docker app
- start server:
- push schema to db server:
npx prisma db pushorpnpm prisma db push - view database:
npx prisma studioorpnpm prisma studio
- Have docker running
-
start frontend:
npm run devorpnpm dev
pip install cythoncd tracker/trackpython -m pip install --upgrade pip==22.0.4pip install -r requirements.txtrm -rf ByteTrackgit clone git@github.com:ifzhang/ByteTrack.git --forcecd ByteTrackpip install -r requirements.txtpython setup.py developcd ../..
db/: Contains database-related configurations and files.docs/: Includes comprehensive documentation for the project.frontend/: Houses the front-end code of the application.tracker/: contains Yolov8 identification, ByteTrack, Team Detection, and Localization start with :flask --app app run -p 8080
Contributions are what make the open-source community an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (git checkout -b feature/AmazingFeature)
- Commit your Changes (git commit -m 'Add some AmazingFeature')
- Push to the Branch (git push origin feature/AmazingFeature)
- Open a Pull Request
- Gabriel Diaz - Computer Vision Engineer
- Ryan Kutz - Computer Vision Engineer
- Anthony Pasala - Backend Engineer
- Joseph Quismorio - Frontend Development Head
- Ryan Son - Project Manager
- Shurui Xu - Database and Analytics Engineer