Abstract
Identifying the configuration of chess pieces from an image of a chessboard is a problem in computer vision that has not yet been solved accurately. However, it is important for helping amateur chess players improve their games by facilitating automatic computer analysis without the overhead of manually entering the pieces. Current approaches are limited by the lack of large datasets and are not designed to adapt to unseen chess sets. This paper puts forth a new dataset synthesised from a 3D model that is an order of magnitude larger than existing ones. Trained on this dataset, a novel end-to-end chess recognition system is presented that combines traditional computer vision techniques with deep learning. It localises the chessboard using a RANSAC-based algorithm that computes a projective transformation of the board onto a regular grid. Using two convolutional neural networks, it then predicts an occupancy mask for the squares in the warped image and finally classifies the pieces. The described system achieves an error rate of 0.23% per square on the test set, 28 times better than the current state of the art. Further, a few-shot transfer learning approach is developed that is able to adapt the inference system to a previously unseen chess set using just two photos of the starting position, obtaining a per-square accuracy of 99.83% on images of that new chess set. The code, dataset, and trained models are made available online.
Subject
Electrical and Electronic Engineering,Computer Graphics and Computer-Aided Design,Computer Vision and Pattern Recognition,Radiology, Nuclear Medicine and imaging
Reference32 articles.
1. MarineBlue: A Low-Cost Chess Robot;Urting,2003
2. A Simple Autonomous Chess Playing Robot for Playing Chess against Any Opponent in Real Time;Banerjee,2012
3. Design and Development of Autonomous Chess Playing Robot;Khan;Int. J. Innov. Sci. Eng. Technol.,2014
Cited by
6 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Visual Question Generation Framework for Chess Game State Identification;2024 IEEE International Conference on Contemporary Computing and Communications (InC4);2024-03-15
2. Do DL models and training environments have an impact on energy consumption?;2023 49th Euromicro Conference on Software Engineering and Advanced Applications (SEAA);2023-09-06
3. Chess Piece Image Recognition Using Transfer Learning, Simple Neural Network, and Convolutional Neural Network;2023 4th International Conference on Artificial Intelligence and Data Sciences (AiDAS);2023-09-06
4. Keep it simple: A Novel Algorithmic Based Chess Scoresheet Writing using Computer Vision;2023 2nd International Conference on Vision Towards Emerging Trends in Communication and Networking Technologies (ViTECoN);2023-05-05
5. A new approach to compute deficiency number of Mahjong configurations;Entertainment Computing;2022-08