调整调试图像开关语义
This commit is contained in:
1 parent
098083a354
commit
168ab4e1f8
9 files changed
+41
-5
No files matched your search
@@ -58,7 +58,7 @@ def setup_debug_tab(parent: ttk.Notebook, *, vars_: Dict[str, tk.Variable]) -> t
|
||||
debug_r0.pack(fill=X, padx=10, pady=(10, 8))
|
||||
ttk.Checkbutton(
|
||||
debug_r0,
|
||||
text="保存调试图像(OCR / 像素 / 模板等)",
|
||||
text="全局调试图像(OCR / 像素 / 模板等)",
|
||||
variable=vars_["debug_captures_enabled_var"],
|
||||
).pack(side=LEFT)
|
||||
ttk.Checkbutton(
|
||||
@@ -237,6 +237,18 @@ def setup_debug_tab(parent: ttk.Notebook, *, vars_: Dict[str, tk.Variable]) -> t
|
||||
side=LEFT, padx=(6, 0)
|
||||
)
|
||||
|
||||
row4debug = ttk.Frame(fudai_find_box)
|
||||
row4debug.pack(fill=X, padx=10, pady=(0, 8))
|
||||
ttk.Checkbutton(
|
||||
row4debug,
|
||||
text="保存福袋详情综合标注图(仅一张,不保存逐字段裁剪图)",
|
||||
variable=vars_["fudai_detail_save_debug_images_var"],
|
||||
).pack(side=LEFT)
|
||||
ttk.Label(
|
||||
row4debug,
|
||||
text="(不受全局调试图像开关影响,用于核对2.0坐标)",
|
||||
).pack(side=LEFT, padx=(6, 0))
|
||||
|
||||
row4ocr1 = ttk.Frame(fudai_find_box)
|
||||
row4ocr1.pack(fill=X, padx=10, pady=(0, 8))
|
||||
for label, var_name in (
|
||||
|
||||
Reference in new issue
Block a user