From 7e358797c2f3753cbc6dfcbd8119ead7e72c5890 Mon Sep 17 00:00:00 2001 From: songhyeonsoo Date: Mon, 18 May 2026 19:09:57 +0900 Subject: [PATCH] generate_synthetic: remove 36px gap after Korean char in type1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PGNet TCL connectivity breaks at large blank gaps, causing detection to split single-line plates into 2 regions. Eval visualization confirmed "37도1563" split into "37도"+"1563" at the gap location. Co-Authored-By: Claude Sonnet 4.6 --- data_gen/generate_synthetic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_gen/generate_synthetic.py b/data_gen/generate_synthetic.py index 45a52fd..7e8e2bd 100644 --- a/data_gen/generate_synthetic.py +++ b/data_gen/generate_synthetic.py @@ -102,7 +102,7 @@ class LPGenerator: x0 = col for x in d: plate[row:row+83, col:col+56] = num[x]; col += 56 - plate[row:row+83, col:col+60] = char[ch]; col += 60 + 36 + plate[row:row+83, col:col+60] = char[ch]; col += 60 for x in e: plate[row:row+83, col:col+56] = num[x]; col += 56 x1 = col