← 全部作品

2026软件硬件黑客松

Chess vision, LEAK and Pawnder

一个便宜的摄像头读懂真实的棋局,Pawnder 在棋盘边指导,LEAK 把我的错误变成练习。

每个作品的详细介绍暂时只有英文。

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

这是什么

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.

怎么运作

  • 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.

哪里出了问题

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.

我的摄像头看过的一盘棋

2026 年 10 月 17 日上午 10:49,我在一个便宜的 ESP32 摄像头前下了这盘棋。我的代码不去认每一个棋子,而是比较每一步前后的棋盘,选出最能解释变化的合法走法。下面每一帧都来自那一次。

摄像头看到的: 6. Nxd5
摄像头看到的帧 000619 · 10:51

代码记下的 6. Nxd5