neural-chessboard

by maciejczyzewski

maciejczyzewski / neural-chessboard

♔ An Extremely Efficient Chess-board Detection for Non-trivial Photos ♔

133 Stars 33 Forks Last release: Not found MIT License 15 Commits 1 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

♔ Neural Chessboard ♔

An Extremely Efficient Chess-board Detection for Non-trivial Photos

arxiv:1708.03898

Computer Vision! Machine learning! A E S T H E T I C!

Getting Started

Dependencies Installation (macOS):

$ brew install opencv3               # toolkit for computer vision
$ pip3 install -r requirements.txt   # toolkit for machine learning

Dataset & Training:

$ python3 dataset.py
$ python3 train.py 50

Testing:

$ python3 main.py test

Example:

$ python3 main.py detect --input=photo.jpg --output=board.jpg

Producing FEN:

NON-PUBLIC ALGORITHM

$ python3 fen.py --input=board.jpg

Dependencies:


Raw Process:

BONUS (old gif):

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.