Abstract
In order to obtain the image information of Go, we use traditional methods to process the image, but these methods have significant limitations, including low accuracy and susceptibility to external factors. To address these issues, we introduce a deep learning approach. By comparing the recognition results of traditional methods and deep learning on a custom Go image dataset, we found that the deep learning method improves accuracy by 17.1%.
Introduction
Accurately digitizing a physical Go (Weiqi) game is a surprisingly difficult task for computer vision. Traditional methods rely on a rigid sequence of steps—detecting grid lines, fitting a coordinate system, and identifying stone colors at intersections. However, these "classical" pipelines are notoriously brittle, often failing under uneven illumination, shadows, or skewed camera angles. If the edge detection or Hough transform fails to find the grid perfectly, the entire recognition process collapses. This research seeks to replace this fragile chain with a holistic deep learning model capable of handling the complexities of real-world photography.
Methodology
The study evaluates two distinct approaches to Go board state recognition:
1. The Traditional Pipeline
The traditional method follows a multi-step sequence including grayscale conversion, edge detection, and high-pass filtering to remove noise. It then utilizes Hough transforms to detect board rows and columns, the RANSAC (Random Sample Consensus) algorithm to fit straight lines, and finally K-means clustering to distinguish black and white stones based on pixel intensity.
2. The Deep Learning Approach
The authors propose a Convolutional Neural Network (CNN) featuring successive layers of convolution and pooling. Unlike the traditional method, the CNN integrates feature extraction directly into the training process. This allows the model to learn the most relevant visual cues for identifying stones automatically, mimicking biological vision systems that transition from simple feature detection (edges) to complex representations (the stone itself).
Datasets
Due to the scarcity of labeled Go board datasets, a custom dataset was created using original photography and internet images. All images were standardized and scaled to a resolution of 224 x 224 pixels and paired with category labels for supervised learning.
Results and Discussion
The deep learning approach demonstrated significant improvements in both accuracy and robustness.
Accuracy and Stability
The deep learning method provided a 17.1% improvement in recognition accuracy over the traditional pipeline. Qualitative analysis reveals that while traditional methods often struggle with "noisy" images or bad shooting angles—frequently missing stones or producing redundant detections—the deep learning model remains steady.
Environmental Resilience
A key advantage of the DL model is its resilience to environmental factors. While traditional methods require highly controlled environments and specific camera alignments, the DL approach maintains high accuracy despite strong illumination and varied perspectives.
Conclusion
Deep learning effectively replaces a complex 7-step manual pipeline with a single trained model that is more efficient and accurate. Future work should focus on expanding the dataset to include more diverse board materials and stone types, as well as optimizing the model for real-time performance in live-streamed game analysis.
Summary updated