โ† All projects
Symfony AIYoloObject Detection

Yagamel Live Referee

Yagamel Live Referee is a table football referee written in PHP. Its name comes from the French cry "Y'a gamelle !", shouted when a player scores a "gamelle": the ball goes into the goal and comes straight out again. It is so fast that players often argue about it. Here, a small Python script sends each frame of a video to a Symfony app. PHP finds the table, asks a YOLO model where the ball is through Symfony AI, follows the ball and calls a goal or a gamelle. Each frame and each call reach the browser at once through the Mercure hub of FrankenPHP. A slider lets you go back in time and check every call, frame by frame.

Play the video on YouTube 1:30

1 comment

Den Delimarsky Jury ยท ranked it #4

Near and dear to my heart: I like football, I've spent hours playing it with my coworkers, and I wish we'd had this tool to tell us who was in the wrong about a goal instead of screaming at each other. Super fun, super cool, and it combines several very complicated technologies: computer vision, connecting that data to the LLM, and keeping the latency acceptable.

Join the conversation with your SymfonyConnect account. Sign in