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} \subsubsection{Transforming pixels to black and white} \input{sections/partie-technique/traitement-image/pixel-baw/pixel-baw} \newpage \subsubsection{Transforming the image to grayscale} \input{sections/partie-technique/traitement-image/image-baw/image-baw} \subsubsection{Examples} \input{sections/partie-technique/traitement-image/examples/examples}