Message Boards Message Boards

GROUPS:

Creating a Chess Position OCR with the Wolfram Language

Posted 5 months ago
2539 Views
|
6 Replies
|
21 Total Likes
|

6 Replies

enter image description here -- you have earned Featured Contributor Badge enter image description here

Your exceptional post has been selected for our editorial column Staff Picks http://wolfr.am/StaffPicks and Your Profile is now distinguished by a Featured Contributor Badge and is displayed on the Featured Contributor Board. Thank you!

Posted 5 months ago

I am impressed.

Thank you for doing that.

This is really impressive! You did it in such a clear way, I loved how you wrote it.

Posted 5 months ago

Thank you for your kind words Pedro.

This is really great Diego! I have often wanted to have functionality like this for computationally extracting positions from chess literature (such as books about particular openings) :). I have built some of my own chess functionality for the Wolfram Language; take a look at the following links if you are interested.

https://resources.wolframcloud.com/FunctionRepository/resources/ImportPGN

https://resources.wolframcloud.com/FunctionRepository/resources/ChessPGNDisplay

Thanks!

Cool stuff. I can't reproduce it on Mathematica 12, though.

The image processing part at the beginning :

x=ImageAdjust[Erosion[Dilation[DeleteSmallComponents[Dilation[EdgeDetect[i],20]],BoxMatrix[100]],120]]

returns a black image.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract