English

LiveChess2FEN: a Framework for Classifying Chess Pieces based on CNNs

Computer Vision and Pattern Recognition 2020-12-15 v1 Machine Learning

Abstract

Automatic digitization of chess games using computer vision is a significant technological challenge. This problem is of much interest for tournament organizers and amateur or professional players to broadcast their over-the-board (OTB) games online or analyze them using chess engines. Previous work has shown promising results, but the recognition accuracy and the latency of state-of-the-art techniques still need further enhancements to allow their practical and affordable deployment. We have investigated how to implement them on an Nvidia Jetson Nano single-board computer effectively. Our first contribution has been accelerating the chessboard's detection algorithm. Subsequently, we have analyzed different Convolutional Neural Networks for chess piece classification and how to map them efficiently on our embedded platform. Notably, we have implemented a functional framework that automatically digitizes a chess position from an image in less than 1 second, with 92% accuracy when classifying the pieces and 95% when detecting the board.

Keywords

Cite

@article{arxiv.2012.06858,
  title  = {LiveChess2FEN: a Framework for Classifying Chess Pieces based on CNNs},
  author = {David Mallasén Quintana and Alberto Antonio del Barrio García and Manuel Prieto Matías},
  journal= {arXiv preprint arXiv:2012.06858},
  year   = {2020}
}

Comments

The complete source code of the LiveChess2FEN framework is publicly available with an open-source license in our GitHub repository: https://github.com/davidmallasen/LiveChess2FEN

R2 v1 2026-06-23T20:55:24.178Z