Explanation: The default value for VERTICAL_ASPECT_RATIO_THRES is 2.0 and the aspect ratio is calculated based on avg_hor/avg_ver. Hence, horizontal boxes will be considered as vertical boxes. This will result in a change in their coordinates, which will influence the PCC and lead to the false detection of merge, split, overlap and miss char.
Solution: Change the aspect ratio to avg_ver/avg_hor.
Problem: CLEval is detecting merge, split, overlap and miss char when the submission result is exactly the same as GT.
How to reproduce: GT file (.txt) compressed and saved as
gt.zip
:Submission file (.txt) same as GT file compressed and saved as
res.zip
:Command:
Output:
Desired output:
Explanation: The default value for
VERTICAL_ASPECT_RATIO_THRES
is 2.0 and the aspect ratio is calculated based onavg_hor/avg_ver
. Hence, horizontal boxes will be considered as vertical boxes. This will result in a change in their coordinates, which will influence the PCC and lead to the false detection of merge, split, overlap and miss char.Solution: Change the aspect ratio to
avg_ver/avg_hor
.