A Telegram bot that recognize a sudoku scheme, solves it and returns the image with the results
By Pinter.
digitsDetector.py: reads a digit from an imagesolverLogic.py: sudoku solver logic and solution formattersudokuSolver.py: reads the sudoku from the image and returns the resulting imagesudokusolver_bot.py: bot main, gets and sends messages and photos via Telegram
Training data files:
data/samples.npy: contains a numpy float32 array of 20x20 px images.data/labels.npy: contains a numpy array of integers corresponding to each image in the samples file.
This project uses:
- OpenCV 3.2.0 (3-clause BSD License): http://opencv.org/license.html
- telepot - Python framework for Telegram Bot API (MIT License): https://github.com/nickoala/telepot/blob/master/LICENSE.md