Diagram image to SGF: experimental software
Posted: Sun Mar 29, 2020 3:47 am
I made this largely for my own amusement/education, but others may find it useful:
https://github.com/hanysz/img2sgf
It's specifically for converting diagrams to SGF so that I can scan pages from printed books on my shelf and load them up into Lizzie+KataGo more quickly than I can input all the moves by hand. It's not great with photos (can't handle perspective distortion) or coloured images, although I've found that it can handle screenshots from some YouTube videos. I wanted something that's not put off by stone numbers or labels on the diagrams, which Imago seems to have trouble with.
Sorry that installing it is such a hassle. I don't have the chance to try it out on a range of computers. So if you manage to make it work, and find it useful, please post your tips here!
https://github.com/hanysz/img2sgf
It's specifically for converting diagrams to SGF so that I can scan pages from printed books on my shelf and load them up into Lizzie+KataGo more quickly than I can input all the moves by hand. It's not great with photos (can't handle perspective distortion) or coloured images, although I've found that it can handle screenshots from some YouTube videos. I wanted something that's not put off by stone numbers or labels on the diagrams, which Imago seems to have trouble with.
Sorry that installing it is such a hassle. I don't have the chance to try it out on a range of computers. So if you manage to make it work, and find it useful, please post your tips here!