fix: ✏️ Fix typos

This commit is contained in:
Louis Gallet 2024-11-02 16:14:02 +01:00
parent 2655297f4e
commit a263cf2e71
Signed by: lgallet
GPG Key ID: 84D3DF1528A84511
2 changed files with 3 additions and 3 deletions

BIN
main.pdf (Stored with Git LFS)

Binary file not shown.

View File

@ -1,3 +1,3 @@
The first step of the process involves converting each pixel to grayscale. This simplification removes most color information from the image, enabling the OCR to better recognize different characters and process the information more quickly since it no longer has to deal with color data.
This conversion is handled by the function \verb'void pixel_to_grayscale'. It takes as parameters a \verb|void* pixel| and an \verb|SDL_PixelFormat*format|, applying the necessary processing to achieve the grayscale effect.
This conversion is handled by the function \verb'void pixel_to_grayscale'. It takes as parameters a \verb|void* pixel| and an \verb|SDL_PixelFormat* format|, applying the necessary processing to achieve the grayscale effect.