Predicting Chessboard layouts from Screenshots using TensorflowJs

This is a much-simplified version of Tensorflow Chessbot, but running live completely in javascript with TensorflowJs.
You can upload a screenshot of a chessboard here, and it will predict the FEN notation and provide Lichess analysis/editor links.
Source code. If you run into issues or have suggestions, please add them as an issue here (or check if there is already one and add a comment).

For now, the chessboard must be centered, properly aligned and filling almost all of the image. Results will show at the bottom.

Please wait, loading tensorflow model...