The goal of this project is to be able to complete a Sudoku puzzle obtained in an android cellphone (Link to Google Play) using image recognition and processing techniques.
This software was made for educational purpose, any use to cheat at game is discriminable.
In order to use this program you are going to need to install pytesseract (more instructions can be found on their github repository).
Another requirement is adb installed, to do that you can check this page. Also remember to insert adb to your PATH.
You are going to need to install some external libraries that can be easily be done with pip (using pip install -r requirements.txt).
- Connect the device using a cable to the computer
- Run the program, if all goes right, it will show a message including the device serial
- Start a new game at any difficulty (currently the algorithm works MUCH better with the white theme)
- Input "s" after the initial message disappeared and wait
- If you want to make sure it won't click on any advertisement make sure to disable internet access. (
Sometimes it can even install apps if you are lucky enough) - Also, be ready to press Ctrl+C to stop the clicking if anything goes wrong
O objetivo é possibilitar a resolução de um sudoku obtido em um celular android (Link para a Google Play) usando técnicas de reconhecimento e processamento de imagem.
Esse software foi feito para uso educacional, qualquer uso para trapacear no jogo é discriminável,
Para usar esse programa você irá precisar instalar o pytesseract (mais instruções podem ser encontradas no repositório git deles).
Outro requisito também é que o adb esteja instalado, para fazer isso você pode visitar essa página. Também lembre-se de inserir o adb no PATH.
Você também vai precisar instalar algumas bibliotecas externas, que poderão ser facilmente instaladas com o pip (using pip install -r requirements.txt).
- Conecte o dispositivo no computador utilizando um cabo
- Execute o programa, se tudo der certo será exibida uma mensagem informando o número serial do dispositivo
- Comece um novo jogo em qualquer dificuldade (atualmente o algoritmo funciona MUITO melhor com o tema claro)
- Insira "s" depois da mensagem inicial desaparecer e espere
- Se você deseja ter certeza que nenhum anúncio será clicado garanta que o acesso a internet está desabilitado. (
Algumas vezes ele pode até mesmo instalar aplicativos se você for sortudo o suficiente) - Esteja pronto para apertar Ctrl+C para parar o clique se algo der errado