Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maciejczyzewski/neural-chessboard
♔ An Extremely Efficient Chess-board Detection for Non-trivial Photos ♔
https://github.com/maciejczyzewski/neural-chessboard
chess chess-board computer-vision machine-learning
Last synced: 7 days ago
JSON representation
♔ An Extremely Efficient Chess-board Detection for Non-trivial Photos ♔
- Host: GitHub
- URL: https://github.com/maciejczyzewski/neural-chessboard
- Owner: maciejczyzewski
- License: mit
- Created: 2017-06-15T08:46:06.000Z (over 7 years ago)
- Default Branch: draft
- Last Pushed: 2023-03-24T23:50:11.000Z (over 1 year ago)
- Last Synced: 2024-10-15T09:49:40.502Z (23 days ago)
- Topics: chess, chess-board, computer-vision, machine-learning
- Language: Python
- Homepage: https://arxiv.org/abs/1708.03898
- Size: 53.6 MB
- Stars: 286
- Watchers: 19
- Forks: 67
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## ♔ Neural Chessboard ♔
An Extremely Efficient Chess-board Detection for Non-trivial Photos
[arxiv:1708.03898](https://arxiv.org/abs/1708.03898)
![](docs/animated.gif)
> _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:__
- [Python 3](https://www.python.org/downloads/)
- [Scipy 0.19.1](https://www.scipy.org/)
- [OpenCV 3](http://opencv.org/)
- [Tensorflow](https://www.tensorflow.org/) (with [tflearn](https://github.com/tflearn/tflearn) support)
- [Pyclipper](https://github.com/greginvm/pyclipper)----
**Raw Process:**
![](docs/appendix.jpg)
**BONUS (old gif):**
![](docs/steps.gif)