调整调试图像开关语义

This commit is contained in:
Your Name committed 2026-06-03 01:48:02 +08:00
1 parent 098083a354
commit 168ab4e1f8
9 files changed
+41 -5

No files matched your search

+10 -2
View File
@@ -26,12 +26,12 @@
<div class="sectionTitle">调试图像</div>
<div class="row">
<label class="label">保存调试图像(OCR / 像素 / 模板等)</label>
<label class="label">全局调试图像(OCR / 像素 / 模板等)</label>
<label class="check">
<input id="debug_captures_enabled" type="checkbox" data-key="debug_captures.enabled" data-type="bool" />
<span>启用</span>
</label>
<div class="hint">关闭后不再保存调试截图,可显著减少磁盘占用和略微提升速度</div>
<div class="hint">控制阶段检测、像素检测、普通 OCR/模板等全局调试截图;福袋详情综合标注图使用下方独立开关</div>
</div>
<div class="sectionTitle">调试图像清理</div>
@@ -80,6 +80,14 @@
</select>
<div class="hint">auto 默认优先使用当前 2.0 坐标,必要时保留旧版回退</div>
</div>
<div class="row">
<label class="label">福袋详情综合标注图</label>
<label class="check">
<input id="fudai_detail_save_debug_images" type="checkbox" data-key="fudai_detail_save_debug_images" data-type="bool" />
<span>启用</span>
</label>
<div class="hint">只保存一张完整详情页区域标注图,不再保存逐字段裁剪图;不受全局调试图像开关影响</div>
</div>
<div class="row grid3">
<label class="check"><input id="fudai_detail_ocr_content_enabled" type="checkbox" data-key="fudai_detail_ocr_content_enabled" data-type="bool" /> <span>内容 OCR</span></label>
<label class="check"><input id="fudai_detail_ocr_value_enabled" type="checkbox" data-key="fudai_detail_ocr_value_enabled" data-type="bool" /> <span>价值 OCR</span></label>
+1
View File
@@ -133,6 +133,7 @@ const DEFAULTS = {
// 是否禁用福袋内容OCR识别(仅前端默认,实际值以 config.json 为准)
fudai_disable_content_recognition: false,
fudai_detail_ui_mode: "auto",
fudai_detail_save_debug_images: false,
fudai_detail_ocr_content_enabled: true,
fudai_detail_ocr_value_enabled: true,
fudai_detail_ocr_countdown_enabled: true,