It can generate a FEN string, and a board representation of the chess board image you upload. The model isn’t perfect though. It works best with images from here, and here.
There’s not that much utility to this atm, but I got to try out poolboy
, GenServer, and port! The code is also pretty bad so please feel free to add comments on how I can make it better.
Source: https://github.com/imsekun/fen_gen
Tech stack
- Phoenix
- LiveView
- Surface UI
- TailwindCSS
- Tensorflow 2.5
Had lots of fun with this. Though it might be overkill for how it is right now.