Sports Analytics 101, Intro
Last Updated on June 10, 2022 by Editorial Team
Author(s): Nitin Chauhan
Originally published on Towards AI the World’s Leading AI and Technology News and Media Company. If you are building an AI-related product or service, we invite you to consider becoming an AI sponsor. At Towards AI, we help scale AI and technology startups. Let us help you unleash your technology to the masses.
I am writing a series of articles about how data analytics and machine learning can impact and be helpful in sports analytics. Throughout my life as an aspiring data scientist, I have always sought out guides to help me gain a deeper understanding of sports analytics. After years of research and courses, I have come up with the idea of creating a guide called Sports Analytics 101. I hope that this guide will help people like me gain a better understanding of and appreciation for data analytics.
Why is Sports analytics essential?
Sports analysis is primarily for the teams directly involved in the games or sports betting companies.
Sports analytics aims to help management make informed decisions by using data related to any sport or gameβββfor example, playersβ statistics, weather conditions, recent wins, and losses. Sports analysis aims to improve team performance and enhance winning chances. A success speaks volumes and trickles down to the fans in the stadium, to television contracts, fan store merchandise, parking, concessions, sponsorships, enrollment and retention, and localΒ pride.
Some great examplesΒ β½οΈ
- One of the worldβs greatest football clubsβββReal Madridβββis using Microsoft technology to transform its operations, performance, fitness, and relationships with its 500 million globalΒ fans.
- Fenway Sports Group, the owners of Liverpool FC, has a history of data adoption. It is famous that John Henry offered Billy Beane, the man behind Moneyball, a $12.5 million deal to become general manager of the Boston Red Sox in 2002 before exploring the footballΒ world.
Top global sports brands use advanced sports analytics to stay on top of their game regarding performance, fitness, and relationships withΒ fans.
Introduction
It has been two decades since coaches began using data science to improve the performance of their players. Big data has been in use to help them make split-second decisions on the field, and sports analytics have helped them sign the βnext big thing.β Referees are now using Video Assistant Technology (VAR) in football to help them make more precise decisions regarding penalties, free kicks, and redΒ cards.
Since AI, specifically Deep Learning, has entered the picture, sports will change evenΒ more.
In this article, we will explore some of the most exciting applications of artificial intelligence in sports and the technology behind them, including:
- AI Ref orΒ VAR
- Player Recommendation Engine
- Player Performance Analysis
- Talent Identification &Β Scouting
- Betting
1. AI Ref orΒ VAR
Recap β³
Argentina drew 0β0 with England during the 1986 World Cup in the sweltering Mexican heat when Diego Maradona climbed with the England goalkeeper to meet aΒ cross.
Despite being able to use his arms, the keeper was the favorite to reach the ball. Despite this, Maradona sprung into the air faster and met the ball with his head into the net. Itβs no secret that wasnβt what happened. Englandβs defenders were enraged when Maradona touched the ball, gesturing to the referee that he had scored an illegalΒ goal.
Present π
Using AI Referees today, such a goal could be achieved in just minutes. All major decisions that affect the outcome of games would be judged more accurately, the margin for error would be slimmerβββand, arguably, controversies would be hugely reduced if AI in sports was used to help the referees.
A perfect example is the Euro 2020 game between England and Denmark with the questionable penalty called by AI when Raheem Sterling went down near the goal. What would AI determine?
Using the AI Referee model trained, the AI referee ruled that Sterling made contact with the ball 150ms before Denmark would have reached the ball. The AI referee would still have awarded the penalty toΒ England.
YetβββThere might have been a different outcome if more camera angles had been available.
A. Offside Detection
For example, detecting offside from overhead cameras can assist VAR in football to ensure goals are not given or denied incorrectly. At the same time, on-field tracking systems (such as Hawkeye) can judge line calls more accurately.
In clay tennis, technology still hasnβt been able to give a 100% accurate reading of a line call due to the slower movement of theΒ ball.
Additionally, computer vision can help identify potential sports penalties to reduce mistakes and controversies and prevent games from swaying one way or the other due to poor refereeing decisions.
B. Goal-line Technology
Similarly, goal-line technology was introduced into football after England failed to score an apparent equalizer against Germany at the 2010 World Cup. According to FIFA, it is a method for determining whether the ball has crossed the line in its entirety.
It uses magnetic fields and cameras to significant effect. Interestingly, it must meet various criteria to gain FIFAβs approval, including being able to work β under adverse conditions accurately.β
A typical Goal-line technology relies on 14 strategically positioned cameras that are streamed to a cluster of computers, which use advanced image processing algorithms to
- Determine the objectΒ (ball),
- Distinguish it from interferences, such as a playerβs shoulders, hand, andΒ boots.
- Confirm whether the entire ball has crossed theΒ line.
2. Player Recommendation Engine
This application will allow you to search for players similar to a specifically selected football player. The latency requirement is that the results are fetched and displayed as quickly and efficiently as possible in real-time.
Current solutions: StatsBomb is the industry leader in football analytics. StatsBomb IQβs similar player search tool can be regarded as state-of-the-art, but we have no idea how itβs implemented.
I have a similar project on estimating some key metrics used by professional scouts and analysts to compare player performance and recommend similar players in case of current players either leaving the club orΒ injured.
Link to notebookΒ here
3. Player Performance Analysis
A wearable that gathers information about the strain and tear levels can help athletes prevent serious injuries. AI is being used in sports to boost performance and health. But thatβs only the beginning. With AI, teams can create strategies and tactics and maximize their strengths.
Using AI, player performance can now be analyzed in a more sophisticated way than ever. Using data and visuals, coaches can gain insight into their teamsβ strengths and weaknesses on any given day, enabling them to change tactics and strategy, thus exploiting opponent weaknesses.
It applies to all sports, from football to tennis, handball, and swimming.
The development of a computer system that tracks players in handball has drawn attention, with a study describing the process: Computer vision, for example, is used to track and analyze humanΒ motion.
The cameras collect the data, and the output results are the Spatio-temporal trajectories of the players. These trajectories provide sports experts with valuable information about the playersβ capabilities and performance.
They conducted three experiments using video sequences to identify the best method for automatic player trackingΒ of:
- Tracking based solely onΒ movement
- Color-based tracking
- Color tracking in combination with templateΒ tracking
Based on the results, color and template tracking was the most effective method, thanks to its speed and minimal human operator intervention.
4. Talent Identification &Β Scouting
These days, teams are involving more technology-based solutions in recruiting and scouting players. Baseball swings, football runs, basketball blocksβββeverything that happens on the field of play is tracked, with teams amassing terabytes ofΒ data.
The use of computer vision in sports involves tracking playersβ movements and the orientation of their bodies during play (object tracking in videos).
This is how it looks on an example of soccer players. Labeling the data with the key point skeleton tool and training the model will allow it to track and predict the playersβ movement.
Machine Learning algorithms are integrated into either aggregated or event-based data to βevaluate playersβ skills and potential and rank them in various categories.
Machine Learning algorithms are integrated into either aggregated or event-based data to βevaluate playersβ skills and potential and rank them in various categories.
Furthermore, teams can use computer vision to identify specific attributes (such as corner-taking ability in soccer) that determine future performance.
With this dataβs insights, teams can make better recruitment choices, ensuring teams are built on successful strategies by buying uncapped players for cheap before developing them and selling them for aΒ profit.
5. Betting (Sports Gambling)
Additionally, sports analytics has contributed to the growing sports gambling industry, which accounts for approximately 13% of the global gambling market. It has an enormous impact on and off the field within sports. You would be hard-pressed to find a professional sporting event with nothing riding on the outcome when sports gambling is valued somewhere between $700 and $1 billion. It is extremely popular with groups of all kinds, from avid sports fans to recreational gamblers. Many gamblers are drawn to sports gambling because there is much information and analytics at their disposal when making decisions.
Key takeaways π
In sports, machine learning is booming, with new applications emerging every year. Everything except the games themselves is set to be improved by data and technology.
The key is balance. AI can be good in theory, but it cannot be at the expense of the fan experience in sports. For example, using facial recognition to smoothen the process of fans or spectators entering the stadium without any hassle also removes the turnstiles, whichβββfor many European football fans, at leastβββare synonymous with a romantic vision of matchΒ day.
AI is undoubtedly the future of sports technology, but weβre not yet there. Weβre probably just at the beginning. And thatβs exciting.
If you like this article, follow me for more relevant content. Also, feel free to connect with me on LinkedIn, and letβs be part of an engagingΒ network.
Sports Analytics 101, Intro was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.
Join thousands of data leaders on the AI newsletter. Itβs free, we donβt spam, and we never share your email address. Keep up to date with the latest work in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming aΒ sponsor.
Published via Towards AI