Recognition of chess positions in pdf documents

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

Dann Corbit
Posts: 12817
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Recognition of chess positions in pdf documents

Post by Dann Corbit »

I have lots of really old chess puzzle books in pdf format. Most are so old that the notation is also archaic.
I did some searching for recognition of a chess board, but everything I found seems to be relating to a computer recognizing a physical chess board as seen through a camera. I found something a decade or so ago, but it did not work well, but we have new technology now so it seems a lot more doable.

Is there any known tools for automated extraction of chess game positions from image files of book pages?
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
jp
Posts: 1487
Joined: Mon Apr 23, 2018 7:54 am

Re: Recognition of chess positions in pdf documents

Post by jp »

Are your pdfs scanned pages or the originals? There's more hope for the latter, which have embedded info.
Dann Corbit
Posts: 12817
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Recognition of chess positions in pdf documents

Post by Dann Corbit »

These books are mostly from the 1800's or so, so all are scanned.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
DrCliche
Posts: 65
Joined: Sun Aug 19, 2018 10:57 pm
Full name: Nickolas Reynolds

Re: Recognition of chess positions in pdf documents

Post by DrCliche »

It should be relatively simple to fine tune something like Neural Chessboard to work well on your scans.
Pi4Chess
Posts: 253
Joined: Mon Nov 16, 2020 12:13 pm
Full name: Manuel Rivera

Re: Recognition of chess positions in pdf documents

Post by Pi4Chess »

Vinvin
Posts: 5312
Joined: Thu Mar 09, 2006 9:40 am
Full name: Vincent Lejeune

Re: Recognition of chess positions in pdf documents

Post by Vinvin »

I tried Chessify on Android, no perfect but OK : https://chessify.me/
Jonathan003
Posts: 244
Joined: Fri Jul 06, 2018 4:23 pm
Full name: Jonathan Cremers

Re: Recognition of chess positions in pdf documents

Post by Jonathan003 »

You can try this webtool: https://ebook.chessvision.ai
But it is a paid service. And I don't know if it will work for old books.
Dann Corbit
Posts: 12817
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Recognition of chess positions in pdf documents

Post by Dann Corbit »

I might try neural-chessboard, which creates uniform images first, so that I only have to train one of the others.
Thanks for all the insights.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.