r/computervision • • Sep 20 '26

Discussion Netherlands vs Tunisia Analyzed with Computer Vision

This demo applies my TactiVision workflow to Netherlands vs Tunisia. It covers player tracking, camera calibration, pitch projection, tactical maps, possession analysis, progressive actions, pass networks, heatmaps, pitch control and pressing indicators.

Feedback from Computer Vision, Sports AI and football analytics practitioners is very welcome.

157 Upvotes

33 comments sorted by

3

u/First_Ad8620 Sep 20 '26

Interesting project. Does it need manual intervention to correct predictions and tracking?

3

u/WillowSad8749 Sep 21 '26

How do you get the 2d position of the players on the pitch plane using single camera

4

u/Adventurous_One_3632 Sep 21 '26

I estimate a frame-to-pitch homography using a custom model I trained to detect football pitch keypoints, match those keypoints to known 2D field coordinates, and compute the transformation. For each detected player, I project the bottom-center/foot point of the bounding box through the homography to obtain the player’s 2D position on the pitch, and for moving broadcast cameras I continuously update and smooth the homography over time
🙂‍↕️🙂‍↕️

1

u/WillowSad8749 Sep 21 '26

I see, is there a minimum number of key points needed? Like assuming the camera zooms you would loose most of them.

1

u/Adventurous_One_3632 Sep 21 '26

mathematically you need at least 4 non collinear point correspondences to estimate a homography, but in practice I prefer more points distributed across the visible part of the pitch because it makes the estimate much more stable. When the camera zooms or pans and too few reliable keypoints remain, I don’t force a new homography; I keep the last good one temporarily and update again once enough confident keypoints are visible

2

u/WillowSad8749 Sep 21 '26

That's very interesting. Another question, would the 2d position be wrong if a player jumps?

1

u/Adventurous_One_3632 Sep 21 '26

Yes, potentially. The homography assumes the projected point lies on the pitch plane, so if a player jumps, the bottom-center of the bounding box may no longer correspond to the true ground-contact point and the 2D position can shift. For normal tracking this error is usually short-lived, but for higher precision I’d use foot/pose keypoints, temporal smoothing or a 3D/height-aware correction when the player is airborne ( flying hahha )

1

u/kickroot Sep 23 '26

How do you handle the homography generation without knowing the size of the field ahead of time? I've done something similar with tennis courts but they are standard sized.

2

u/skadoodlee Sep 20 '26 edited Nov 01 '26

Honey trend spin era shoulder cozy appear verify culture happy smile bring early captain oak bottle step among active insect rain soup drill nut.

Edit: Randomized for privacy during account cleanup.

2

u/Adventurous_One_3632 Sep 21 '26

I want to apologize for my reply earlier. Right after posting , I received some bad news and I wasn’t in the best headspace, so my response came across more sharply than I intended. I’m sorry if I was rude or disrespectful that wasn’t my intention I appreciate your feedback and the technical point you were making

3

u/skadoodlee Sep 21 '26 edited Nov 01 '26

Poet produce powder explain bend home before someone sample unveil eye wet decide object voice wood step palace combine block box simple loud balance record else load.

Edit: Randomized for privacy during account cleanup.

0

u/[deleted] Sep 20 '26

[deleted] — view deleted comment

12

u/skadoodlee Sep 20 '26 edited Nov 01 '26

Focus vivid journey cook hover candy media pear young lazy section width chimney parade phone coat item thought universe little version outdoor glove.

Edit: Randomized for privacy during account cleanup.

2

u/MuchSand7923 Sep 20 '26

Is this live or have you downloaded clips/full match videos from some where

0

u/Adventurous_One_3632 Sep 20 '26

Not real time because more than 7 models need to run at the same time 

2

u/MuchSand7923 Sep 20 '26

Did you do each annotation manually or used some software

2

u/Adventurous_One_3632 Sep 20 '26

No humain interact 100% computer vision system 

2

u/cgrsl Sep 21 '26

It looks great. What i'm wondering is this, did you use a model to visualise the football pitch in 2D? if so, did you collect data yourself or use ready-made data from roboflow? I've done the same project myself but i couldn't produce a very good model from roboflow.

3

u/Adventurous_One_3632 Sep 21 '26

Thanks! In my case, I do use a custom model to detect pitch keypoints. I collected and annotated the data myself and trained my own keypoint model for football field calibration ,the detected pitch keypoints are then used to estimate the homography, and from that I project player/ball positions into real pitch coordinates and render the 2D tactical map so yes, the calibration part is model-based, but the 2D pitch visualization itself is generated from standard field geometry

2

u/Adventurous-Link3946 Sep 22 '26

Great this….. I would love to put my veo recordings through this for kids football 🤣

1

u/Adventurous_One_3632 Sep 22 '26

Haha, that’s actually one of the main things I’m working on for clients right now — adapting the pipeline to Veo footage, especially tracking, calibration, pitch mapping and tactical analysis. Kids’ football is definitely a very interesting use case too

1

u/solarscoutsystem Sep 20 '26

Log reprojection error per frame. If it spikes on zooms, freeze the last good homography before you trust those heatmaps or pitch control.

1

u/Adventurous_One_3632 Sep 20 '26

monitor homography quality frame by frame keep the last reliable transform during unstable zoom/pan periods, then resume updates once calibration stabilizes ,that helps avoid contaminating pitch control and heatmap outputs with bad projections

1

u/agarwalkunal12 Sep 21 '26

Where do you get the camera feeds my man?

0

u/[deleted] Sep 20 '26

[deleted] — view deleted comment

2

u/Adventurous_One_3632 Sep 20 '26

TactiVision not Activision

0

u/[deleted] Sep 20 '26

[deleted] — view deleted comment

2

u/r1char00 Sep 21 '26

It’s not just about the name. There are a bunch of other factors. A big one is whether the goods/services are similar enough to cause confusion in consumers. I doubt this would be seen as competing with a video game company. It would be worth it for OP to talk to an IP lawyer in their country, though.

1

u/gefahr Sep 21 '26

I just looked up their US application which was granted for:

Entertainment services, namely, providing video games and video game competitions via the Internet; Electronic games services provided by means of the Internet or other communication network; Electronic games services provided by means of the Internet; Entertainment services, namely, providing online electronic games; Organization of games and video game competitions; Providing on-line entertainment in the nature of electronic game tournaments; Provision of on-line information in the field of computer games entertainment; Entertainment services, namely, non-downloadable video game software that allows users to create, modify, upload, download, share, preview, and publish user created interactive video game content, music, and other media files via a global computer network

I personally wouldn't bother trying to fight for this (as OP) and would change the name based on my experience. It's close enough that the outcome is not clear to me, but I can confidently say it will be expensive to get to a ruling if Activision takes notice.