VarCnn: The Deep Learning Powered VAR
https://aamir07.medium.com/var-cnn-football-foul-or-clean-tackle-4ff6629c83db
Detailed arricle on the project using the above data can be fount athttps://share.streamlit.io/aamir09/varcnnapp/main/app.py
Web App Hosted athttps://www.youtube.com/watch?v=GXW7YWE3vxY
Tutorial on Youtube:Football is the most followed sport in the world, played in more than 200M+ countries. The sport has developed a lot in the recent century and so has the technology involved in the game. The Virtual Assistant Referee (VAR) is one of them and has impacted the game to a large extent. The role of VAR is simple yet complex; to intervene in between the play when the referees make a wrong decision or cannot make one. A specific scenario arises when they have to decide if a sliding tackle inside the box has resulted in a clean tackle or penalty for the opposition team. The technology is there to watch the moment at which tackle took place on repeat but the decisions are still made by humans and hence can be biased. I propose a CNN based foul detection which is theoretically based on the principle of the initial point of contact.
Data
Collecting the data has been a ponderous task, there are no open-source resources for the kind of data of any league. The only available sources are the video clips of the European matches and compilations on youtube of tackling and fouls. A small chunk of data is also acquired from the paper Soccer Event Detection Using Deep Learning.
Model Architecture
Results & Inferences
Results: Training Accuracy: 76.6% Validation Accuracy: 78%
Infrences
The above inference is a case where the model predicted the classes correctly. The focus has been on player postures and the initial contacts. In Figure 4, you can clearly see it takes into account both the players postures and initial point of contact. Figure 3, shows that the initial point of contact with the player as well the ball of the opposition player is taken into account for the decision making.
In Figure 5, the original image corresponds to a foul but is classified as a clean tackle, observe that the initial point of contact is not considered at all, some focus is on the postures but mainly on the green grass. This is pretty common in the images classified in the wrong classes. This issue can be resolved if more data is available for both classes and the quality of data improves.
Real-Time Inference Example can be seen in the article.
Future Work
The future work is improving the model by increasing the volume of the data as well as the variety of fouls. In this project, we have studied sliding tackles. Once a model with better accuracy is achieved, it may become the next advancement in football’s decision making.
The data can be used freely but if you do use it mention Aamir Ahmad Ansari in the citations or credits with link to this repository.