Skip to content

Commit defe980

Browse files
Improve large.pdf OCR readability
- Increase verification code font size from 46pt to 96pt - Fixes OCR misreading M9N3T as M5N9T or MNGT - Update generate-pdfs.sh script with larger font - Tests: 4/4 passing across all SDKs
1 parent 6350331 commit defe980

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

fixtures/pdfs/generate-pdfs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ magick -size 1600x1200 xc:white \
6262
-annotate +0-350 'LARGE PDF TEST' \
6363
-pointsize 40 \
6464
-annotate +0-250 'Verification Code:' \
65-
-fill green -pointsize 46 \
65+
-fill green -pointsize 96 \
6666
-annotate +0-170 "$LARGE_CODE" \
6767
-fill black -pointsize 24 \
6868
-annotate +0-80 'Large test document for PDF uploads.' \

fixtures/pdfs/large.pdf

-383 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)