Closed crux82 closed 2 years ago
@ryancotterell Maybe I found a solution. Actually, it may sound like a workaround, but it seems quite impossible to robustly detect invisible characters: when a candidate area out of the margin is proposed, this is cropped and if all pixels are equal to the background, this is skipped.
You find this implemented in the branch
In some papers, the SW incorrectly raises an error when checking the margin but there is no visible text there.
Actually, there is some text but it is invisible...
I think the problem is somewhere in
formatchecker.py