Document Image Processing allows systems like OCR, writer identification, writer recognition, check processing, historical document processing, etc., to extract useful information from document images. What we call a document image ranges from images of historical documents written on various surfaces, to synthetic images (useful for creating datasets) and videos including text. In order to succeed, many preprocessing tasks can be required:...