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 <noreply@anthropic.com>
- generate_synthetic.py: plate 전체 box → 글자 실제 좌표 기반 tight polygon으로 변경
(글자 반복 출력·over-segmentation의 근본 원인 해결)
gen_type1/2/_gen_two_line 모두 (plate, label_list) 통일 반환
- tools/make_gt_mat.py: test.txt → ICDAR wordBB 포맷 gt_img_N.mat 생성 스크립트 신규
(E2EMetric seqerr=0.99 고착 문제 해결)
- scripts/run_step1.sh: 데이터 생성 → GT mat 생성 → 학습 3단계로 재구성
NUM_SAMPLES 환경변수로 데이터 수 제어 가능
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Per-plate HSV V scaling in [0.55, 1.45] for cheap color diversity. Heavy
geometric augmentation belongs in the training transforms (next step) so
each epoch sees a different version, not in synthesis.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Default weights (Type 1/2/3/4 = 0.80/0.05/0.10/0.05) approximate the
real-world mix: ~98% of registered cars are post-2006 single-line, plus
~7.5% commercial yellow. Override via --type_weights when needed. Also
prints per-type counts so the operator can sanity-check distribution.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- generate_synthetic.py: Type 1/2 (one-line) and Type 3/4 (two-line) supported
- Hangul char map covers all 37 glyphs available in the asset bundle
- Two-line plates emit two separate PGNet polygons (top region+digits, bottom char+digits)
- REGION_MAP is a best-effort guess and flagged for visual verification
- Optional --dict flag prints coverage diagnostics
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Clones qjadud1994/Korean-license-plate-Generator (MIT) on the server
- Provides plate backgrounds and pre-rendered glyph PNGs, avoiding font licensing
- Asset directory ignored from this repo
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>