Skip to content

AxelLelong/OCR

Repository files navigation

EN:

Hi there,

Here is a guide to help you use our sudoku solver.

- After downloading the file of our project, go to the folder in a terminal;
- Then use the make command to compile our project;
- When compiling, an executable is created. You can run it by writing "./main";
- Execution will open a window with which you can interact:
	There you will find different buttons:
	- At the top left, there is the "Quit" button, which will allow you to close the program;
	- On the same side, you will first find another button:
		"Load Image"
		- Clicking on this button will display a file explorer where you can choose the image of the sudoku you want to solve;
		- Once this image is selected, click on "OK"
	- You are back on the main window where you can check that your image is displayed;
	- If you wish, you can apply a rotation to the image thanks to the input zone present under the image in order to straighten it;
	- You can then use the "RUN" button which will process your image to make it readable. The resulting image of the processing will be displayed;
	- A new button is available: the "Solve" button. By clicking on this button, the image of the solved sudoku will be displayed, with the numbers already present are in black, the numbers found are in red;
	- At any time, you can load a new image to solve another sudoku

If you want to uninstall the executable, you can use the "make clean" command in a terminal in the project folder.

FR:

Bonjour a tous,

Voici un guide pour vous aider a utiliser notre resolveur de sudoku.

- Apres avoir telecharger le dossier de notre projet, rendez vous dans le dossier dans un terminal ;
- Utilisez ensuite la commande make pour compiler notre projet ;
- En compilant, un executable est cree. Vous pouvez l'executer en ecrivant "./main";
- L'execution va ouvrir une fenetre avec laquelle vous pouvez interragir :
	Vous y trouverez différents boutons :
	- En haut a gauche, il y a le bouton "Quit", qui vous permettra de fermer le programme ;
	- Du même coté, vous trouverez premièrement un autre bouton : 
		"Load Image"
		- Cliquer sur ce bouton affichera un explorateur de fichier ou vous pourrez choisir l'image  du sudoku que vous souhaitez solutionner ;
		- Une fois cette image selectionnee, cliquez sur "OK"
	- Vous voila revenu sur la fenetre principale ou vous pouvez verifier qui votre image est bien affichee ;
	- Si vous le souhaitez, vous pouvez appliquer une rotation a l'image grâce a la zone de saisie presente sous l'image afin de redresser cette derniere ;
	- Vous pouvez ensuite utiliser le bouton "RUN" qui traitera votre image pour la rendre lisible. L'image résultante du traitement sera affichée ;
	- Un nouveau bouton est disponible : le bouton "Résolve". En cliquant sur ce bouton, l'image du sudoku résolu d'affichera, avec les chiffres deja presents sont en noirs, les chiffres trouves sont en rouges;
	- A tout moment, vous pouvez charger une nouvelle image pour resoudre un autre sudoku

Si vous souhaitez desinstaller l'exécutable, vous pouvez utiliser la commande "make clean" dans un terminal dans le dossier du projet.

About

School 2nd year Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors