TextMaskOCR Algorithm for automatic print defect detection via OCR-mask for text Before start Make sure to paste paths and names to your .jpg images in lines: --image_folder = r"path-to-your-images" --names = ['image-names']