← All builds

2026SoftwareHardwareHackathons

Chess vision, LEAK and Pawnder

A cheap camera reads a real chess game, Pawnder coaches over the board, and LEAK turns my mistakes into drills.

Overhead camera frame of a real chess game in progress on a roll-up board
A frame from the ESP32 camera, mid-game

What it is

Three projects that hand off to each other. Chess YOLO Vision is an ESP32 camera that watches a normal board, with no markers, and writes the game down move by move. Pawnder, started at the Nebius × NVIDIA hackathon, is that camera plus a coach that stays quiet until I blunder. LEAK is the web app that finds where I lose games, online and over the board, and drills those positions.

How it works

  • Camera calibration straightens the board, so the code reasons about squares, not pixels.
  • Unsure moves get re-checked, then offered as choices. The engine never decides which move was played, so my blunders get recorded as played.
  • The engine is a socket: Stockfish by default, or any UCI program, or a Python class someone wrote. Thirteen contract checks say whether a new engine plugs in, so a club member can bring their own.
  • Pawnder's engine decides when to speak. An AI only words the verdict, with Gemini or any key, and the page shows the facts behind every sentence.
  • The camera's games import into LEAK next to my Chess.com games, so a blunder over the board counts in the same diagnosis and the same drills.

What broke

My first YOLO model found only 9 to 15 of the 32 pieces. So I stopped asking it to recognise pieces. Now it compares the board before and after each move and picks the legal move that best explains what changed.

A game my camera watched

On 17 October 2026 at 10:49 a.m. I played this game in front of a cheap ESP32 camera. My code didn't try to recognise every piece. It compared the board before and after each move and picked the legal move that best explained what changed. Every frame below is from that session.

What the camera saw: 6. Nxd5
What the camera sawFrame 000619 · 10:51

What the code wrote down 6. Nxd5