Hacker News new | ask | show | jobs
Soccer video analysis from your match videos (futvis.com)
44 points by jfhb-04 955 days ago
I created a tool to generate awesome soccer video analysis from match videos.

I'm no pro player, just play with my friends weekly, record our matches, and use this tool to check out our performance.

My friends really enjoy it and have suggested adding features like measuring player speed, tracking players positions, and more.

13 comments

This is not a valid Show HN - you have to have something more than a signup list for people to try out. Please see https://news.ycombinator.com/showhn.html.

I appreciate that you have a demo of the project working on one video, but the title claims that people can try it on their own, and for that the web page seems to just be collecting signups. Most likely it would be best to do a Show HN once it's working in a form people can try directly.

(I've taken "Show HN" out of the title now.)

I'm so sorry for this, it was my bad. On the website, there is a link to the demo people can try but it is not exactly the link I posted.

This is the link: https://futvis.streamlit.app/. Sorry for not having it accessible to anyone. Unfortunately, it is a button inside the website and I misunderstood the rules.

Again, I apologize for this inconvenience.

It's ok! Once you have something that people can try on their own videos, you'd be welcome to do a Show HN about it. Good luck with your work!
There is a decent market for these kinds of tools if you can make easy for users to use. Back in the late 90s/early 00s, I worked for a company that provided MPEG2 equipment to startup making these kinds of analysis tools for American Football analysis. The NFL has had it for years, but they were trying to make it affordable for High Schools to get in on the action. I'm in Texas, so that's pretty much a religion, so you can bet they spent the money.

This was very manually oriented where the students would capture the VHS tapes schools swapped with each other, and then log each play, the down, the time on the clock, and every other piece of data they could think of. At the end, it would analyze it all and be able to show that the coach from School A has tendencies to run a particular play or defense in the 4th quarter. It was pretty accurate.

If you can do the same thing but without needing the manual data entry, there could be a product instead of just being a fun project. If you can show that certain players have more tendencies to switch to the left foot after cutting in from the right, the defense can look for it and shut down that lane and offer the outside (isn't that their default anyways???) to make the attacker chose their "less preferred" action. We know goal keepers study PK attempts in attempts to have a more informed guess on the shooter's tendency on placement.

Never underestimate the money schools/coaches will go to gain an advantage. Hell, we're seeing yet again coaches in trouble for trying to steal the play calls. The one positive about trying to sell it is that you do not have to worry about the school's budget (which is never enough) since this is the exact kind of thing the boosters love to fund in an attempt to get the upper hand on a rival.

Good luck!

Cool. I've been thinking about where to find an alternative to the Veo Technologies camera system that most clubs use but is pretty expensive. This seems like it could work
Yeah, of course, this is a low-cost alternative, since you have to use your own camera or phone.

These are examples of videos we've successfully processed: * https://youtu.be/SxGV5W5Ka7M?si=kYNIe3tzoFm_-DKw * https://youtu.be/HUUcLKZKmfg?si=Xpcj4AtK5wOZwMot

Just have to put the camera in a fixed position, and that's all.

If you have any video like that, I can generate a video analysis for you in exchange for feedback.

Just fill out this form: https://forms.gle/U8UeeTwrWiMjiUzZA

how difficult would it be to translate this to other sports (specifically hockey?)
It won't be any hard, as we simply gather players' positions and generate stats accordingly. The number of players or the size of the pitch doesn't affect the process.

I'm interested in trying a hockey video. You can contact me here if you are interested as well: futvissoftware@gmail.com

Wow! This is cool! Have you seen the video where they use OpenAI to analyze and give commentary on live soccer games by sending screenshots of the game to OpenAI vision API and text to speech API?

https://youtu.be/u56K4dL20gA?si=VBtBicEQ89f1l6Fv

Thanks!

And the football commentator is amazing! To be honest, I wasn't aware of this. Exciting advancements in the soccer industry are being made possible by AI today.

I'm eager to give it a try and show it off to my friends!

Good luck my friend!
Hey, this looks pretty cool. I play with a couple of teams that are pretty competitive in local indoor leagues. We would like to try this out. I applied for the beta, but wonder if there is a way to contact you directly. Some questions:

- Approximately how much does it cost ?

- Can it use videos of the same game, shot from different angles ?

Great! You can contact me at this email: * futvissoftware@gmail.com

By now I'm providing free soccer video analysis in exchange for feedback.

Yes, it's possible to use videos of the same game from different angles, of course.

These are two examples of videos we've successfully processed: https://youtu.be/SxGV5W5Ka7M?si=kYNIe3tzoFm_-DKw https://youtu.be/HUUcLKZKmfg?si=Xpcj4AtK5wOZwMot

While these are distinct games, if they happen to be the same, the outcomes are unlikely to vary significantly.

There are a couple of other products in the market doing very similar things. Have you done any work on positioning or differentiation? There is space for different options for sure.

I'd love to see if you can turn this into an affordable virtual offside system for smaller leagues.

I'm focusing on amateur leagues and amateur teams.

In fact, I'm an amateur player and I'm in a team that plays every single week. We collect the videos on our own and process them to have our analysis and make decisions. It's really low cost since we use our smartphones and don't need the analysis in real-time.

By now we're building a platform where you upload your videos and access your analysis, in contrast to others, we are not focusing on video recording.

Also, don't forget referee tracking. Higher level referees work hard on being the right places at the right time, so having some data showing their position at KMI as well as some way to measure their ability to anticipate would be valuable.
Didn't think about this! Thanks for this idea! It sounds like it could be extremely useful for referees.
If someone wanted to make something like this for tennis I have several large academies that would love to use it (could easily get a couple co-founders like the UTR founder to offer it to the tournament circuits and associations and make it a robust business)
You may want to reach out to the PlayReplay team, I saw this post about their work which looks quite cool: https://www.rerun.io/blog/playreplay
Have you checked SwingVision (https://swing.tennis/)?
Really cool! Was thinking to build something similar myself as a side project. What is the tech stack? I would be curious to learn more about how it works.
Thanks! Well flask, streamlit, plotly, opencv, docker, a trained object detection model (Faster RCNN or YOLO, there is not much difference). Google Cloud Run, some storage services on GCP, full python, react for front-end, and that's all.
Questions: - Can you do analysis of video captured from Trace cameras? - Any roadmap for exporting the data for both team and player?
By now, we're only capable of processing videos with consistent camera angle throughout the video, I believe trace cameras change based on players' positions, right?

I'm interested in adjusting our systems and make it work with trace cameras.

If you want send me a message and we can work to generate some data from your video. It'll help me a lot to improve Futvis.

futvissoftware@gmail.com

This is awesome. Would love access for my daughter's soccer team.
Great, thanks!

To have access just fill out this form: * https://forms.gle/U8UeeTwrWiMjiUzZA

I'll send you some requirements for the video. I'm providing soccer video analysis at no cost in exchange for feedback.

Ah bummer. Just got this reply...

"To kick things off, all you need to do is share a link to your video on Google Drive, OneDrive, or YouTube, and we'll promptly create a personalized analysis for you at no cost. In return, we kindly ask for your constructive feedback to help us enhance the Futvis experience."

We work with little ones and cannot just send over videos without their parents' consent.

I understand. Since we're still in the process of building the platform, this is the only way to generate insights for you currently. However, in a few weeks, the platform will be completed, allowing you to use it on your own while maintaining ownership of your videos. I'll send you an email when it's done!
Does this work in real time? Considered gambling applications?
It doesn't work real time yet, the analysis is made after the video is completed. But it'd be a good feature to add.

Didn't considered gambling, how it would be? It'd be ike generating win or goals probabilities per minute?

would this work for other sports like rugby?
Certainly, as we simply gather players' positions and generate stats accordingly. The number of players on the pitch doesn't affect the process.

I can make a video analysis for you at no cost, in exchange for feedback.

Just need to fill out this form: https://forms.gle/U8UeeTwrWiMjiUzZA

LiveBarn offers this (as a pay per use service, $15/game) for youth ice hockey. I haven't used it, but it at least looks interesting https://www.livebarn.com/en/playeranalysislearnmore
This is great, and I hope people enjoy it, I tried to do something similar years ago commercially, and so I'll ask: please make sure you keep it as a passion project - turning this into a money spinner could lead to disappointment.

I was on the winning team for what I believe was the EPL's first and only hackathon at Manchester City back in 2016 or thereabouts. It was a while back.

That hackathon used a couple of data sources that professional football (never "soccer" on this island), has available: Opta data which is now the industry standard, and a 25fps video system turned into player, official and ball tracking data based on 6+ cameras installed at every ground in the league. Teams had access to all games they participated in, but not all their competitors games. Hackathon brief: what you can do with these two data sources?

That video tracking at 25fps was not great. Yes, producing heat maps, cool. Yes, automated pass tracking, cool. Automated distance travelled, pace/minutes played, possession, yada, yada, all cool. Combining it with Opta data meant you could start to get pass completion and "forced error"-like stats, cool. So you could start to think about how to get outputs that could turn into coaching inputs, and that's kinda cool but also, y'know, coaches like Pep aren't going to listen, no matter how often you make them read/watch Moneyball.

We won because we quantified the effect of opposing players on a 30 degree and 45 degree forward arc on pass completion - intuitively any fan knows that defending players lower pass completion, but we were the first in the World apparently to put a hard number on it because of this data. (12% reduction in pass completion for every player in a 30 degree arc ahead of a player, if you're interested).

However, we had suspicions with video based analysis for accurate tracking. Because of - when you think about it, kinda obvious - timing issues that can mean at 25fps you have 40ms latency/slippage frame to frame, the data suggested the ball was kicked in one game, by Yaya Toure into the back of the opposing team's net at just over 1000m/s - a little over Mach 3. I remembered the goal from that game and quipped "it was good, but not that good".

After doing that work CFG started to explore next steps. That's a long story, but I started to dive in to some ideas. I pointed out that there was so much archive video from TV coverage that could be used for analysis, throwing it all through some pose estimation could yield results. Even just set pieces, even just corners, could mean you could produce a huge resource for analysis.

The problem is, there's not much budget for this.

It seems odd, but most EPL clubs - and EPL is the richest league in the World - have annual turnovers that would be dwarfed by some Series D startups. All the money goes on the field in player salaries. If you've read Soccernomics, you'll agree it should. That meant data teams often have small budgets, measured in the high 5-figure/low 6-figure region for kit, and not much more for analyst salaries.

Digging around, I discovered that there are high school grid iron football teams in Texas whose non-salary OPEX budgets for data analysis aren't that much lower than most EPL teams.

That may have changed, but I think you have a chance of making a dent in this space, getting interest from lots of clubs (both professional and amateur), but you might struggle to make decent returns from it. It's why I had the exact same idea years ago and abandoned it - it seemed like a lot of work for very little return and I needed to focus on returns at that time.

TLDR: this is awesome, I hope it thrives, keep going, and Godspeed. Just keep the day job for now. ;-)

Thank you so much for your insightful comment. I genuinely appreciate the time you took to share your knowledge and experiences.

I'll take your advice about keeping this project as a passion rather than being desperate for profits seriously. Certainly, I'll need to face several issues, such as budget constraints, data, and process issues, like your anecdote about Yaya Toure's nearly supersonic shot.

All you mentioned will help a lot to make it thrive, especially the opportunities you found in high school football.

I'm grateful for the guidance you've provided to me. Thanks again!

Super interesting commentary.

I've also done some fun video analysis for sport (bouldering) and thought some about how to make money from it. Surprised EPL budgets are so small, but there you go...

For those interested, there are currently a bunch of funded PhD projects in Australia around similar topics (funded under the 2032 Brisbane Olympics program).

> Because of - when you think about it, kinda obvious - timing issues that can mean at 25fps you have 40ms latency/slippage frame to frame, the data suggested the ball was kicked in one game, by Yaya Toure into the back of the opposing team's net at just over 1000m/s - a little over Mach 3.

This error seems too big to have come from the inherent latency of 25 fps.

1000 m/s over the shortest period, a single frame, would be 40 metres in 0.04 seconds. If there was one frame's worth of error on each end, then the lowest speed the real value could be was 40 metres in 0.12 seconds which is still a completely impossible 330 metres per second.

Am I missing something? 25 fps seems like enough to capture the ball location to within a metre for all but the hardest shots.