arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.11522cs.CVcs.LG
收藏

CVChess:将棋盘图像转换为福斯-爱德华兹记谱法(FEN)的深度学习框架

CVChess: A Deep Learning Framework for Converting Chessboard Images to Forsyth-Edwards Notation

Luthira Abeykoon, Ved Patel, Gawthaman Senthilvelan, Darshan Kasundra

AI总结:

针对实体国际象棋缺乏辅助工具的问题,提出CVChess深度学习框架,通过带残差层的CNN识别棋子并将棋盘图像转换为FEN,结合在线引擎提供最优走法,提升实体棋类的数字辅助体验。

摘要:

自疫情以来,受在线学习平台普及的推动,国际象棋的观众数量大幅增长。然而,实体国际象棋游戏缺乏同等的辅助工具,导致模拟与数字国际象棋体验之间存在鸿沟。本文提出CVChess,这是一个将棋盘图像转换为福斯-爱德华兹记谱法(FEN)的深度学习框架,FEN随后被输入在线国际象棋引擎以提供最佳下一步走法。我们的方法采用带有残差层的卷积神经网络(CNN)从智能手机相机图像中识别棋子。该系统通过多步骤处理实体棋盘的RGB图像:使用霍夫线变换进行边缘检测的图像预处理、投影变换实现棋盘俯视对齐、分割为64个独立方格,以及使用残差CNN将棋子分类为13类(6种白色棋子、6种黑色棋子和空方格)。残差连接在实现更深层特征提取的同时保留低级视觉特征,提高训练时的准确性和稳定性。我们使用国际象棋识别数据集(ChessReD)训练和评估模型,该数据集包含10800张在不同光照条件和角度下拍摄的带注释智能手机图像。最终的分类结果被编码为FEN字符串,可输入国际象棋引擎生成最优走法。

英文摘要:

Chess has experienced a large increase in viewership since the pandemic, driven largely by the accessibility of online learning platforms. However, no equivalent assistance exists for physical chess games, creating a divide between analog and digital chess experiences. This paper presents CVChess, a deep learning framework for converting chessboard images to Forsyth-Edwards Notation (FEN), which is later input into online chess engines to provide you with the best next move. Our approach employs a convolutional neural network (CNN) with residual layers to perform piece recognition from smartphone camera images. The system processes RGB images of a physical chess board through a multistep process: image preprocessing using the Hough Line Transform for edge detection, projective transform to achieve a top-down board alignment, segmentation into 64 individual squares, and piece classification into 13 classes (6 unique white pieces, 6 unique black pieces and an empty square) using the residual CNN. Residual connections help retain low-level visual features while enabling deeper feature extraction, improving accuracy and stability during training. We train and evaluate our model using the Chess Recognition Dataset (ChessReD), containing 10,800 annotated smartphone images captured under diverse lighting conditions and angles. The resulting classifications are encoded as an FEN string, which can be fed into a chess engine to generate the most optimal move

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑