Giter Site home page Giter Site logo

guerraepaz / soccernet-code Goto Github PK

View Code? Open in Web Editor NEW

This project forked from silviogiancola/soccernet-code

0.0 0.0 0.0 136.79 MB

SoccerNet: A Scalable Dataset for Action Spotting in Soccer Videos

Python 2.50% Shell 0.01% Jupyter Notebook 97.49%

soccernet-code's Introduction

SoccerNet: A Scalable Dataset for Action Spotting in Soccer Videos

[DEPRECATED] Please visit https://github.com/SilvioGiancola/SoccerNetv2-DevKit for an updated version of that repository

CVPR'18 Workshop on Computer Vision in Sports

Available at openaccess.thecvf.com

@InProceedings{Giancola_2018_CVPR_Workshops,
  author = {Giancola, Silvio and Amine, Mohieddine and Dghaily, Tarek and Ghanem, Bernard},
  title = {SoccerNet: A Scalable Dataset for Action Spotting in Soccer Videos},
  booktitle = {The IEEE Conference on Computer Vision and Pattern Recognition (CVPR) Workshops},
  month = {June},
  year = {2018}
}

Project page: https://silviogiancola.github.io/SoccerNet/

Data available:

Clone this repository

git clone https://github.com/SilvioGiancola/SoccerNet-code.git

Create the conda environement (Python3)

conda env create -f src/environment.yml

source activate SoccerNet

Download the data

We recommand to use https://github.com/wkentaro/gdown to download large files from google drive.

pip install gdown (already in the conda environment)

Please use the following script to download automatically the data:

  • Frames Features:

./src/SoccerNet_CSV_Downloader.sh data/SoccerNet_V1.1_Features.csv

  • Labels:

./src/SoccerNet_CSV_Downloader.sh data/SoccerNet_V1.1_Labels.csv

  • Commentaries:

./src/SoccerNet_CSV_Downloader.sh data/SoccerNet_V1.1_Commentaries.csv

  • Videos (224p) (csv file available after filling this form):

./src/SoccerNet_CSV_Downloader.sh data/SoccerNet_V1.1_Videos.csv

  • Videos (HD) (csv file available after filling this form):

./src/SoccerNet_CSV_Downloader.sh data/SoccerNet_V1.1_Videos_HQ.csv

Read data

Read data for a single game

python src/ReadData.py "data/england_epl/2014-2015/2015-05-17 - 18-00 Manchester United 1 - 1 Arsenal"

Read commentaries for a single game

python src/ReadCommentaries.py data france_ligue-1 2016-2017 "Paris SG" "Marseille"

Loop and read over Train/Valid/Test

python src/ReadSplitData.py data src/listgame_Train_300.npy

Loop and read over all games

python src/ReadAllData.py data

Source code for data reproducibility

Features Extraction from videos

See src/feature_extraction for more details.

Action Classification

See src/Classification for more details.

Action Detection/Spotting

See src/Detection for more details.

Getting Started with Colab

It is possible to use Colab to work with SoccerNet on the Google Cloud. Colab provides a colaborative python environment in the cloud including unlimited storage as well as a free Tesla K80 GPU.

To us SoccerNet on Colab, please check this jupyter notebook.

(Acknowlegments: thanks to lamia13Alg for sharing her Colab notebook)

soccernet-code's People

Contributors

silviogiancola avatar tianyilt avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.