R-CNN-Based Chess Position Recognition
Abstract
Performing chess game position recognition solely from a single image of a three-dimensional board requires predicting the position and orientation of the board relative to the camera, the occupancy of squares and the piece type, which includes its colour. We propose an R-CNN-based framework with independent components for piece recognition and board geometry estimation, whose predictions are combined to reconstruct the position. For piece recognition, we adapt Faster R-CNN using a class-weighted objective and a deeper classification head. The detector operates directly on the input image, retaining alternative piece hypotheses that are subsequently refined using constraints on piece counts and square occupancy. For board detection, we introduce an octagonal arrangement of eight labelled boundary keypoints, predicted using the keypoint head of Mask R-CNN. These provide redundant correspondences for homography estimation and encode board orientation. The estimated homography maps representative points from the piece boxes to an 8x8 grid. On a synthetic dataset, the modifications to piece detection increase mean average precision from 61.59% to 90.14%. Of the predicted board keypoints, 97.11% are within 1% of the image diagonal of their labelled targets. Using ground-truth piece boxes with the predicted homographies gives correct square assignments for every test position. The complete framework recovers 76.61% of test positions exactly and 96.49% with at most one incorrect square.
Create a lesson
Related papers
What Makes a Gavagai? Learning Visual Concepts from One Positive and Few Negatives
Shared title terminologycs.CVKatsuya Ogata, Kazuya Nishimura, Yuta Nakashima
When Position Favors the Wrong Part: Evaluating Left-Right Discrimination in Semantic Correspondence
Shared title terminologycs.CVPingan Wang
A Computational Model of Continuous Recognition Memory for Natural Images
Shared title terminologycs.CVSheng Zhao, Yijin Wang, Bei Xiao et al.
Bridging Transferability and Discriminability via Positive-Unlabeled Domain Adaptation for Building Damage Mapping Across Disaster Events
Shared title terminologycs.CVQirui Wang, Hengwei Zhao, Xiaoshu Yang et al.
Fine-Grained Ego-Vehicle Action Recognition from Driving Video
Shared title terminologycs.CVZhipeng Bao, Wenjie Zhao, Qianwen Li
Memory as the Backbone: A Dual-Store Associative Memory Architecture for Visual Recognition
Shared title terminologycs.CVRuizhi Wang, Xiangtao Wang, Bayar Menzat et al.