How a 24-year-old programmer from Portugal made $18,200 in a month on football betting
He created an AI analyst that finds flaws in bookmakers' live lines in real time and delivers predictions with an 84% win rate.
Costs: $0 (Used free APIs and Windsurf IDE)
He launched a Python script that maps out match videos in real time:
Top layer: A Computer Vision algorithm recognizes the positions of players from both teams (blue and pink dots) and the ball, instantly transferring them onto a 2D pitch layout. This allows the AI to track team formations and open spaces in high detail, things regular bettors completely miss.
Bottom layer: Python code (written alongside the Windsurf AI assistant), where the SoccerPitchConfiguration class defines the field, penalty box, and center circle dimensions down to the centimeter for perfect player-distance calculations.
The AI constantly correlates the real-time movement of players on the pitch with live bookmaker odds. The moment the algorithm detects that a team has pinned their opponent into a specific zone or exposed their flanks, while the bookmaker hasn't adjusted the odds yet, the script automatically fires a betting signal.
First week:
>Live bets placed: 142
> Won bets: 119
> Net profit: +$4,350 using a flat $50 stake
The AI completely automated the entire cycle: Windsurf and Claude wrote the tracking code, and the algorithm autonomously parses live odds, calculates the mathematical expectation of value bets, generates player heatmaps, and spots hidden tactical anomalies. It runs 100% autonomously.
Bookmark it and check out the article below 👇