maciejczyzewski / neural-chessboard

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

Home Page:https://arxiv.org/abs/1708.03898

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

♔ 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):

About

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

https://arxiv.org/abs/1708.03898

License:MIT License


Languages

Language:Python 100.0%