GithubHelp home page GithubHelp logo

sudoku.com-solver's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

sudoku.com-solver's Issues

Bug: KNN espera distinta cant. de features

Para distintas resoluciones de pantallas el tamaño de la grilla del sudoku cambia -> también cambia el tamaño de las fotos de los cuadraditos. Estas fotos pasan directo al modelo de KNN, que fue entrenado con fotos de 35x35, y si son de distinto tamaño fallan -> Reescalando esas fotos de cuadraditos a 35x35 debería estar

Error Sudoku fácil

Saludos, espero se encuentre bien, me encantan sus videos, estaba probando el código y me encontré con un caso particular en el momento que lo puse en fácil, te comparto imagen.

image

Me pareció extraño que fallara, igual está buenisimo y resuelve los casos de demoníaco en decimas por si querías analizarlo.

Os x

Lo has probado en Os X
2.9 GHz Intel Core i7
Ventura 13.4.1

Ya que me da error en estas lineas.

squares_images = split_grid(cropped_grid)
square_img = cv2.resize(square_img, (55, 55), interpolation=cv2.INTER_AREA).

cv2.error: OpenCV(4.8.0) /Users/runner/work/opencv-python/opencv-python/opencv/modules/imgproc/src/resize.cpp:4062: error: (-215:Assertion failed) !ssize.empty() in function 'resize'

Saludos.

Error running on Win10

Hola, el alt-tab lo hace perfectamente pero al parecer no captura bien la imagen.
Este es el error que me arroja...

PS C:\Users\Admin\Desktop\sudoku> & C:/Python310/python.exe c:/Users/Admin/Desktop/sudoku/main.py
Traceback (most recent call last):
File "c:\Users\Admin\Desktop\sudoku\main.py", line 103, in
main()
File "c:\Users\Admin\Desktop\sudoku\main.py", line 22, in main
squares_images = split_grid(cropped_grid)
File "c:\Users\Admin\Desktop\sudoku\main.py", line 68, in split_grid
square_img = cv2.resize(square_img, (55, 55), interpolation=cv2.INTER_AREA)
cv2.error: OpenCV(4.8.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\resize.cpp:4062: error: (-215:Assertion failed)
!ssize.empty() in function 'cv::resize'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.