13 lines
360 B
Python
13 lines
360 B
Python
"""
|
|
Scale Strategy Configuration.
|
|
|
|
Defines uniform bbox expansion padding for YOLO training data.
|
|
All fields use the same fixed-pixel padding -- no layout assumptions.
|
|
"""
|
|
|
|
from typing import Final
|
|
|
|
# 15px at 150 DPI = ~2.5mm real-world padding around text.
|
|
# Enough for OCR safety margin without capturing neighboring label text.
|
|
UNIFORM_PAD: Final[int] = 15
|