Message Boards Message Boards

21
|
18257 Views
|
6 Replies
|
22 Total Likes
View groups...
Share
Share this post:

Creating a Chess Position OCR with the Wolfram Language

Posted 4 years ago

POSTED BY: Diego Zviovich
6 Replies

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.

POSTED BY: Lucien Grondin

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!

POSTED BY: Paco Jain
Posted 4 years ago

Thank you for your kind words Pedro.

POSTED BY: Diego Zviovich

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

POSTED BY: Pedro Cabral

I am impressed.

Thank you for doing that.

POSTED BY: Abraham Gadalla

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 BY: EDITORIAL BOARD
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