feat: ✨ Translate some parts in english and create folder for conclusion
This commit is contained in:
@ -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.
|
||||
|
@ -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.
|
||||
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.
|
||||
|
@ -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}
|
||||
|
Reference in New Issue
Block a user