Determining Chess Game State from an Image

Author:

Wölflein GeorgORCID,Arandjelović OgnjenORCID

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.

Publisher

MDPI AG

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

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3