Solve soduko in a image based on OpenCV and Python

LiuXiaolong19920720 LiuXiaolong19920720 Last update: Dec 27, 2023

opencv-soduko


This project aim to solve soduko in an image using opencv,which is implemented in Python.

  • Get numbers in the image

  • Recognise the numbers (Train a knn here)

  • Generate soduko and solve it

  • Display the output





How to use

cd number

run mkdir.bat

cd ..

python preprocess.py

python knn.py


细节参考文章

Subscribe to our newsletter