diff --git a/main.pdf b/main.pdf index e3867f5..9cf31b7 100644 --- a/main.pdf +++ b/main.pdf @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f248ed141fcba092afcc3c3297d0994e06b88dba7105d0a22cde6de54b0b83aa -size 522439 +oid sha256:07aa1635467838d751202929f27ae358612ceb67dcec89fe2c429c079173bbb6 +size 520963 diff --git a/sections/partie-technique/IA/IA.tex b/sections/partie-technique/IA/IA.tex index 7a2a993..02cedbe 100644 --- a/sections/partie-technique/IA/IA.tex +++ b/sections/partie-technique/IA/IA.tex @@ -1,6 +1,6 @@ This section covers our research on artificial intelligence to develop an AI component for the project, particularly for the OCR. -Our first draft of the AI has not been integrated into the main project\footnote{You can find the project here: https://gitea.louisgallet.fr/lgallet/XOR-NeuralNetwork-C} because it is focused on our research on AI rather than the project itself. +Our first draft of the AI has not been integrated into the main project\footnote{You can find the code source of the project here: https://gitea.louisgallet.fr/lgallet/XOR-NeuralNetwork-C} because it is focused on our research on AI rather than the project itself. Below, you will find the research we conducted for the AI. diff --git a/sections/partie-technique/detection-grille/detection-grille.tex b/sections/partie-technique/detection-grille/detection-grille.tex index 543fe64..545243f 100644 --- a/sections/partie-technique/detection-grille/detection-grille.tex +++ b/sections/partie-technique/detection-grille/detection-grille.tex @@ -1 +1 @@ -Cette section est dédiée à la détection de grille. Elle est une étape cruciale dans notre projet, car elle permet de détecter la grille de mot dans une image. +For now, we ask the user to draw a rectangle around the grid. This allows us to determine the grid's coordinates and crop it accordingly. We chose this method to simplify the grid detection process. However, we plan to implement an automatic grid detection algorithm in the future. diff --git a/sections/partie-technique/partie-technique.tex b/sections/partie-technique/partie-technique.tex index 4433c36..7038aeb 100644 --- a/sections/partie-technique/partie-technique.tex +++ b/sections/partie-technique/partie-technique.tex @@ -16,5 +16,5 @@ This section aims to explain each part of the project from a technical perspecti \subsection{Grid Detection} \input{sections/partie-technique/detection-grille/detection-grille} -\subsection{Cells Detection and Recognition} -\input{sections/partie-technique/extraction-cellules/extraction-cellules} +%\subsection{Cells Detection and Recognition} +%\input{sections/partie-technique/extraction-cellules/extraction-cellules} diff --git a/sections/partie-technique/traitement-image/image-baw/image-baw.tex b/sections/partie-technique/traitement-image/image-baw/image-baw.tex index f6d5f92..5c481c3 100644 --- a/sections/partie-technique/traitement-image/image-baw/image-baw.tex +++ b/sections/partie-technique/traitement-image/image-baw/image-baw.tex @@ -1,5 +1,3 @@ The second step of the process involves converting each pixel from grayscale to black and white. This further simplifies the image by retaining only two colors: black and white. As a result, the OCR can more effectively recognize different characters and process the information more quickly, since it only has to differentiate between two color values: black and white. To complete this process, the functions \verb'void pixel_to_black_white' and \verb'void pixel_to_grayscale' are executed sequentially. This results in an output image in grayscale. - -TODO: Add some images to illustrate the process. diff --git a/sections/partie-technique/traitement-image/pixel-baw/pixel-baw.tex b/sections/partie-technique/traitement-image/pixel-baw/pixel-baw.tex index 7641151..ef5c53f 100644 --- a/sections/partie-technique/traitement-image/pixel-baw/pixel-baw.tex +++ b/sections/partie-technique/traitement-image/pixel-baw/pixel-baw.tex @@ -1,3 +1,3 @@ -La deuxième partie du processus consiste à transformer chaque pixel en nuance de gris en pixel black and white. Cela permet de simplifier encore plus l'image en ne gardant que deux couleurs, le blanc et le noir. Cela permet ensuite à l'OCR de mieux reconnaître les différentes lettres et de traiter les informations plus rapidement car il n'a plus que deux informations de couleurs, soit du noir, soit du blanc. +The second part of the process involves converting each grayscale pixel to black and white. This further simplifies the image by retaining only two colors: white and black. This allows the OCR to recognize different characters more effectively and process information more quickly, as it only has to differentiate between two color values, either black or white. -Cette conversion est assuré par la fonction \verb'void pixel_to_black_white'. Elle prends en paramètre un \verb|void* pixel|, \verb|SDL_PixelFormat* format| et \verb|Uint8 threshold|. La fonction applique le traitement directement sur l'image. \ No newline at end of file +This conversion is handled by the function \verb'void pixel_to_black_white'. It takes as parameters a \verb|void* pixel|, \verb|SDL_PixelFormat* format|, and \verb|Uint8 threshold|. The function applies the transformation directly on the image. diff --git a/sections/partie-technique/traitement-image/traitement-image.tex b/sections/partie-technique/traitement-image/traitement-image.tex index 7d2da4c..aa6fe3d 100644 --- a/sections/partie-technique/traitement-image/traitement-image.tex +++ b/sections/partie-technique/traitement-image/traitement-image.tex @@ -1,4 +1,4 @@ -Cette sous section détaille le processus de traitement d'image utilisé dans notre logiciel, afin de la préparer pour qu'elle soit analyser de la meilleure des façons par l'OCR\footnote{cf. section X.X sur l'OCR}. Pour ce faire, nous faisons passer l'image par plusieurs étapes avant de l'envoyer à l'OCR. +This subsection details the image processing procedure used in our software to prepare the image for optimal analysis by the OCR\footnote{see section 4.2 on OCR}. To achieve this, we pass the image through several steps before sending it to the OCR. \subsubsection{Transforming pixels to grayscale} \input{sections/partie-technique/traitement-image/pixel-grayscale/pixel-grayscale}