An package that converts digial chessboard image into Forsyth-Edwards notation
Project description
board_to_fen
Python package that converts digital chessboard image into Forsyth-Edwards notation (FEN) notation
Installation
board_to_fen is available on PyPI:
$ pip3 install board_to_fen
Quick Start
from board_to_fen.predict import get_fen_from_image
print(get_fen_from_image(PATH_TO_CHESSBOARD_IMAGE))
Note: The package uses tensorflow+keras and python-opencv API. They should be downloaded on Your machine. I did't put it in install_requires because you can use conda's.
Training
For training You would probably want to download the source code by cloning the repository:
$ git clone https://github.com/mcdominik/board_to_fen.git
Download training data from:
I will supply url for data in the future
In the main repository dir, run
$ python3 ./board_to_fen/train_model.py
Version history
v.0.0.1-13 latest
fix path (upload related) bugs
References:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
board_to_fen-0.0.14.tar.gz
(33.7 MB
view hashes)
Built Distribution
Close
Hashes for board_to_fen-0.0.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbdd5e83942994481d2df69f214d49c3f974375e3b18b2879c0a19f4c2229a5a |
|
MD5 | 5deeaa8b0f84919c3f84f5522e09a897 |
|
BLAKE2b-256 | 23f41c8af66088a1fae4f2a89d01375975ef7a3bbef38842dee935075895364e |