Chess position recognizer.
This program is a work in progress and may not work as expected.
$ git clone https://github.com/lucas-mior/zerdax2
$ cd zerdax2
$ pip install -r requirements.txt
$ make
$ python ./zerdax2.py <image> [<image2> ...] [-v=LEVEL]
Resulting FEN is written to standard output aswell as position diagram using characters.
algorithm.py
: Run algorithm on images passed as arguments without reading standard input for filenames and with default logging level.draw.py
: Superimpose 2 imagesfen.py
: Compress FEN given as argument and draw position using charactersobjects.py
: Run piece detection and save results on image.