auto-save 2026-05-13 11:17 (~2)
This commit is contained in:
@@ -997,8 +997,8 @@ def describe_frame(job_id: str, idx: int) -> Job:
|
||||
# ---------- 清洗水印 / 元素提取(关键帧二阶段加工) ----------
|
||||
|
||||
class CleanupReq(BaseModel):
|
||||
# 可选 region:相对坐标 0-1,限制清洗范围
|
||||
region: dict | None = None # {"x": float, "y": float, "w": float, "h": float}
|
||||
# 多个相对坐标矩形 0-1,限制清洗范围;空 / None = 全图清洗
|
||||
regions: list[dict] | None = None # [{"x","y","w","h"}, ...]
|
||||
|
||||
|
||||
def _region_to_phrase(r: dict) -> str:
|
||||
|
||||
Reference in New Issue
Block a user