Skip to main content

Automatic Pass Annotation from Soccer Video Streams Based on Object Detection and LSTM

  • Conference paper
  • First Online:
Machine Learning and Knowledge Discovery in Databases. Applied Data Science and Demo Track (ECML PKDD 2020)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 12461))

  • 2322 Accesses

Abstract

Soccer analytics is attracting increasing interest in academia and industry, thanks to the availability of data that describe all the spatio-temporal events that occur in each match. These events (e.g., passes, shots, fouls) are collected by human operators manually, constituting a considerable cost for data providers in terms of time and economic resources. In this paper, we describe PassNet, a method to recognize the most frequent events in soccer, i.e., passes, from video streams. Our model combines a set of artificial neural networks that perform feature extraction from video streams, object detection to identify the positions of the ball and the players, and classification of frame sequences as passes or not passes. We test PassNet on different scenarios, depending on the similarity of conditions to the match used for training. Our results show good classification results and significant improvement in the accuracy of pass detection with respect to baseline classifiers, even when the match’s video conditions of the test and training sets are considerably different. PassNet is the first step towards an automated event annotation system that may break the time and the costs for event annotation, enabling data collections for minor and non-professional divisions, youth leagues and, in general, competitions whose matches are not currently annotated by data providers.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    https://wyscout.com/.

  2. 2.

    PassNet’s code and data are available at https://github.com/jonpappalord/PassNet.

  3. 3.

    In our experiments, we find that this situation happens for 0.66% of the frames.

  4. 4.

    The application is developed using python framework Flask, and is available at https://github.com/jonpappalord/PassNet.

References

  1. Bayat, F., Moin, M.S., Bayat, F.: Goal detection in soccer video: role-based events detection approach. Int. J. Electr. Comput. Eng. 4(6), 2088–8708 (2014)

    Google Scholar 

  2. Berrar, D.: Performance measures for binary classification. In: Encyclopedia of Bioinformatics and Computational Biology, pp. 546–560 (2019)

    Google Scholar 

  3. Bornn, L., Fernandez, J.: Wide open spaces: a statistical technique for measuring space creation in professional soccer. In: MIT Sloan Sports Analytics Conference (2018)

    Google Scholar 

  4. Carrara, F., Elias, P., Sedmidubsky, J., Zezula, P.: LSTM-based real-time action detection and prediction in human motion streams. Multimedia Tools Appl. 78(19), 27309–27331 (2019). https://doi.org/10.1007/s11042-019-07827-3

    Article  Google Scholar 

  5. Cintia, P., Giannotti, F., Pappalardo, L., Pedreschi, D., Malvaldi, M.: The harsh rule of the goals: data-driven performance indicators for football teams. In: IEEE International Conference on Data Science and Advanced Analytics, pp. 1–10 (2015)

    Google Scholar 

  6. Decroos, T., Bransen, L., Van Haaren, J., Davis, J.: Actions speak louder than goals: valuing player actions in soccer. In: 25th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 1851–1861 (2019)

    Google Scholar 

  7. Deng, J., Dong, W., Socher, R., Li, L., Li, K., Fei-Fei, L.: Imagenet: a large-scale hierarchical image database. In: 2009 IEEE Conference on Computer Vision and Pattern Recognition, pp. 248–255 (2009)

    Google Scholar 

  8. Fakhar, B., Kanan, H.R., Behrad, A.: Event detection in soccer videos using unsupervised learning of spatio-temporal features based on pooled spatial pyramid model. Multimedia Tools Appl. 78(12), 16995–17025 (2019)

    Article  Google Scholar 

  9. Gerke, S., Muller, K., Schafer, R.: Soccer jersey number recognition using convolutional neural networks. In: Proceedings of the IEEE International Conference on Computer Vision Workshops, pp. 17–24 (2015)

    Google Scholar 

  10. Gudmundsson, J., Horton, M.: Spatio-temporal analysis of team sports. ACM Comput. Surv. 50(2), 1–34 (2017)

    Google Scholar 

  11. He, K., Zhang, X., Ren, S., Sun, J.: Deep residual learning for image recognition. In: IEEE Conference on Computer Vision and Pattern Recognition, pp. 770–778 (2016)

    Google Scholar 

  12. Jiang, H., Lu, Y., Xue, J.: Automatic soccer video event detection based on a deep neural network combined cnn and rnn. In: 28th IEEE International Conference on Tools with Artificial Intelligence, pp. 490–494 (2016)

    Google Scholar 

  13. Kapela, R., McGuinness, K., Swietlicka, A., O’Connor, N.E.: Real-time event detection in field sport videos. In: Moeslund, T.B., Thomas, G., Hilton, A. (eds.) Computer Vision in Sports. ACVPR, pp. 293–316. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-09396-3_14

    Chapter  Google Scholar 

  14. Khan, A., Lazzerini, B., Calabrese, G., Serafini, L.: Soccer event detection. In: 4th International Conference on Image Processing and Pattern Recognition, pp. 119–129 (2018)

    Google Scholar 

  15. Lin, T.-Y., et al.: Microsoft COCO: common objects in context. In: Fleet, D., Pajdla, T., Schiele, B., Tuytelaars, T. (eds.) ECCV 2014. LNCS, vol. 8693, pp. 740–755. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-10602-1_48

    Chapter  Google Scholar 

  16. Liu, H., Hopkins, W., Gómez, A.M., Molinuevo, S.J.: Inter-operator reliability of live football match statistics from opta sportsdata. Int. J. Perform. Anal. Sport 13(3), 803–821 (2013)

    Article  Google Scholar 

  17. Liu, T., et al.: Soccer video event detection using 3d convolutional networks and shot boundary detection via deep feature distance. In: International Conference on Neural Information Processing, pp. 440–449 (2017)

    Google Scholar 

  18. Pappalardo, L., Cintia, P.: Quantifying the relation between performance and success in soccer. Adv. Complex Syst. 20(4), 1750014 (2017)

    Google Scholar 

  19. Pappalardo, L., Cintia, P., Ferragina, P., Massucco, E., Pedreschi, D., Giannotti, F.: Playerank: data-driven performance evaluation and player ranking in soccer via a machine learning approach. ACM Trans. Intell. Syst. Technol. 10(5), 1–27 (2019)

    Google Scholar 

  20. Pappalardo, L., et al.: A public data set of spatio-temporal match events in soccer competitions. Nat. Sci. Data 6(236), 1–15 (2019)

    Google Scholar 

  21. Redmon, J., Farhadi, A.: Yolov3: An incremental improvement. arXiv preprint arXiv:1804.02767 (2018)

  22. Rossi, A., Pappalardo, L., Cintia, P., Iaia, F.M., Fernàndez, J., Medina, D.: Effective injury forecasting in soccer with gps training data and machine learning. PLoS One 13(7), 1–15 (2018)

    Article  Google Scholar 

  23. Saraogi, H., Sharma, R.A., Kumar, V.: Event recognition in broadcast soccer videos. In: Proceedings of the Tenth Indian Conference on Computer Vision, Graphics and Image Processing, p. 14. ACM (2016)

    Google Scholar 

  24. de Sousa, S.F., Araújo, A.D.A., Menotti, D.: An overview of automatic event detection in soccer matches. In: IEEE Workshop on Applications of Computer Vision, pp. 31–38 (2011)

    Google Scholar 

  25. Tan, P.N., Steinbach, M., Kumar, V.: Introduction to Data Mining. Pearson Education India, Chennai (2016)

    Google Scholar 

  26. Viera, A.J., Garrett, J.M.: Understanding interobserver agreement: the kappa statistic. Fam. Med. 37(5), 360–363 (2005)

    Google Scholar 

  27. Wei, X., Sha, L., Lucey, P., Morgan, S., Sridharan, S.: Large-scale analysis of formations in soccer. In: 2013 International Conference on Digital Image Computing: Techniques and Applications, pp. 1–8 (2013)

    Google Scholar 

  28. Yu, J., Lei, A., Hu, Y.: Soccer video event detection based on deep learning. In: Kompatsiaris, I., Huet, B., Mezaris, V., Gurrin, C., Cheng, W.-H., Vrochidis, S. (eds.) MMM 2019. LNCS, vol. 11296, pp. 377–389. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-05716-9_31

    Chapter  Google Scholar 

  29. Zawbaa, H.M., El-Bendary, N., Hassanien, A.E., Kim, T.H.: Event detection based approach for soccer video summarization using machine learning. Int. J. Multimedia Ubiquit. Eng. 7(2), 63–80 (2012)

    Google Scholar 

Download references

Acknowledgments

This work has been supported by project H2020 SoBigData++ #871042.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Luca Pappalardo .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Sorano, D., Carrara, F., Cintia, P., Falchi, F., Pappalardo, L. (2021). Automatic Pass Annotation from Soccer Video Streams Based on Object Detection and LSTM. In: Dong, Y., Ifrim, G., Mladenić, D., Saunders, C., Van Hoecke, S. (eds) Machine Learning and Knowledge Discovery in Databases. Applied Data Science and Demo Track. ECML PKDD 2020. Lecture Notes in Computer Science(), vol 12461. Springer, Cham. https://doi.org/10.1007/978-3-030-67670-4_29

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-67670-4_29

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-67669-8

  • Online ISBN: 978-3-030-67670-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics