Skip to content

truekendor/chessboard-image-to-fen

Repository files navigation

Chessboard image to FEN online converter with automatic chessboard detection. Live demo here

Chessboard detection is done using Yolov8n.pt trained on a custom dataset and exported to Tensorflow.JS

Pieces classification is done using TensorFlow.js, MobileNet v3 and transfer learning trained on a procedurally generated dataset

Preview

preview image 1

preview image 2

Prediction head arch

Model Arch

Acknowledgements

  • Detection output parsed with slightly modified version of the onnx runtime web