arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1708.03898cs.CV
收藏

基于神经网络的棋盘和棋子识别

Chessboard and chess piece recognition with the support of neural networks

Institute of Computing Science, Poznan University of Technology(波兹南理工大学计算科学研究所);European Center for Bioinformatics and Genomics, Poznan University of Technology(波兹南理工大学生物信息学与基因组学欧洲中心)

Maciej A. Czyzewski, Artur Laskowski, Szymon Wasik

摘要:

棋盘和棋子识别是一个尚未得到有效解决的计算机视觉问题。然而,它的解决方案对于许多希望与人工智能机器人竞争的经验丰富的玩家至关重要,但也更喜欢根据对物理棋盘的分析做出决策。这对于希望在线播放的国际象棋比赛组织者或希望与朋友分享游戏的普通玩家也很重要。通常,这种数字化任务由人类或在专用棋盘和棋子的帮助下执行。然而,这两种解决方案都不容易或不方便。为了解决这个问题,我们提出了一种新的算法,数字化棋盘配置。我们设计了一种方法,它可以抵抗光照条件和图像捕获的角度,并且可以正确地与许多棋盘样式一起工作。该算法迭代地处理图片。在每次迭代过程中,它执行三个主要的子过程:检测直线,寻找格点,并定位棋盘。最后,我们识别所有棋子,并使用标准符号生成棋盘的描述。对于其中的每一步,我们都设计了自己的算法,超越了现有的解决方案。我们尽可能利用机器学习技术来支持我们的算法。所描述的方法执行得非常好,并且实现了超过用于检测棋盘格点的$99.5\%$(与用于最佳备选方案的$74\%$相比)、用于在图像中定位棋盘的$95\%$(与用于最佳备选方案的$60\%$相比)以及用于棋子识别的几乎$95\%$的精度。

英文摘要:

Chessboard and chess piece recognition is a computer vision problem that has not yet been efficiently solved. However, its solution is crucial for many experienced players who wish to compete against AI bots, but also prefer to make decisions based on the analysis of a physical chessboard. It is also important for organizers of chess tournaments who wish to digitize play for online broadcasting or ordinary players who wish to share their gameplay with friends. Typically, such digitization tasks are performed by humans or with the aid of specialized chessboards and pieces. However, neither solution is easy or convenient. To solve this problem, we propose a novel algorithm for digitizing chessboard configurations. We designed a method that is resistant to lighting conditions and the angle at which images are captured, and works correctly with numerous chessboard styles. The proposed algorithm processes pictures iteratively. During each iteration, it executes three major sub-processes: detecting straight lines, finding lattice points, and positioning the chessboard. Finally, we identify all chess pieces and generate a description of the board utilizing standard notation. For each of these steps, we designed our own algorithm that surpasses existing solutions. We support our algorithms by utilizing machine learning techniques whenever possible. The described method performs extraordinarily well and achieves an accuracy over $99.5\%$ for detecting chessboard lattice points (compared to the $74\%$ for the best alternative), $95\%$ (compared to $60\%$ for the best alternative) for positioning the chessboard in an image, and almost $95\%$ for chess piece recognition.

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

↑