📞 +91-7667918914 | ✉️ ijarcce@gmail.com
IJARCCE Logo
International Journal of Advanced Research in Computer and Communication Engineering A monthly Peer-reviewed & Refereed journal
ISSN Online 2278-1021ISSN Print 2319-5940Since 2012
IJARCCE adheres to the suggestive parameters outlined by the University Grants Commission (UGC) for peer-reviewed journals, upholding high standards of research quality, ethical publishing, and academic excellence.
← Back to VOLUME 14, ISSUE 5, MAY 2025

Automated Conversion of Chess Diagrams in PDF to PGN Files

Maheswari M, Nandha Kumar S, Ramkumar G M

DOI: 10.17148/IJARCCE.2025.14549

Abstract: Automating the conversion of chess literature into digital formats has become essential for enhancing training, analysis, and archiving. This work presents an intelligent system that automates the process of converting chess puzzles and games from PDF documents into PGN (Portable Game Notation) files. The approach begins with extracting high-resolution images from PDF pages, followed by image processing techniques such as adaptive thresholding and perspective transformation to detect and align chess boards. A Convolutional Neural Network (CNN) is then employed to recognize chess pieces on the board and generate accurate FEN (Forsyth-Edwards Notation) strings. These FEN strings are subsequently converted into PGN format, capturing not only board positions but also move sequences and annotations. The system significantly reduces the manual effort and has 98% accuracy, time required for transcribing chess games from books, offering a scalable and efficient solution for converting both classical and puzzle-based chess content into usable digital formats for modern chess databases and training applications..

Keywords: Chessboard recognition, PGN conversion, FEN, CNN, OCR, Tkinter GUI, image processing

How to Cite:

[1] Maheswari M, Nandha Kumar S, Ramkumar G M, “Automated Conversion of Chess Diagrams in PDF to PGN Files,” International Journal of Advanced Research in Computer and Communication Engineering (IJARCCE), DOI: 10.17148/IJARCCE.2025.14549