-
Convert the image to gray scale.
-
Apply blur to the image.
-
Apply adaptiveThreshold to find curves.
-
Find all the curves that appear in the image.
-
Find the curves that connect to each other and form the biggest area between all the curves.
-
Crop Sudoku using the outline of your grid.
-
Find the position of the numbers in the Sudoku grids.
-
Use tensorflow to identify the numbers.
-
User can click on the image to zoom it.
Download openCv 4.5.1 or later
1 - Open Android Studio (This steps was used in Android Studio 4.1.3)
2 - File -> New -> Import Module
3 - Go to where you have downloaded the OpenCV and select the directory SDK
4 - Click Finish
1 - File -> Project Structure
2 - (1) Click on Dependencies -> (2) Select your project(My is app) - > (3) click on the plus button -> (4) click on the Module Dependency
3 - Select the SDK of the OpenCv and Click on the Ok button.