🇨🇳 点击展开中文更新日志 (Chinese)
SnapFind v2.5.4 更新说明
本次更新带来 OCR 性能、模型档位与设置页的改进,并修复了 v2.5.3 发布包缺少运行库的问题。
OCR 性能
- 送检前统一缩放到 1600px,配合缩放位图对象池与压缩式 LOH 回收:4K 截图峰值内存 204 MB → 153 MB,单次识别 586 ms → 435 ms。
- 新增可选推理子进程,长时间驻留时进一步隔离内存占用。
模型与引擎
- 默认模型更新为 PP-OCRv6 tiny,包体积更小、启动更快。
- 模型档位按引擎分别记忆,Rapid / Paddle 互不覆盖。
- 「OCR 与语言」设置页拆成 Rapid 与 Paddle 两个互斥区块,切换时整块替换。
界面与体验
- 去掉开关悬停时的变色;下拉框滚动即收起;更新日志弹窗按内容预测量并加入上浮淡入。
- 修复设置页滚动时文字发虚的问题。
- 关于页更新日志行改为纵向排布,三个链接按钮等宽,弹窗高度自适应。
内存与更新
- OCR 引擎空闲超时 60 秒 → 30 秒,闲置后卸载引擎并整理内存;托盘常驻每 3 分钟整理一次工作集(仅无推理时执行)。
- 更新检查改为三源并行,单源超时 8 秒 → 4 秒,最坏等待由约 24 秒降至 5~6 秒;关于页优先使用本地缓存。
- 单实例互斥量仅在本进程持有、且限定在创建它的线程上释放,避免误释放。
插件
- 插件骨架自带开关 / 下拉 / 下拉项模板,修复勾选态悬停变黑;模板加载失败时回退宿主样式。
- 新增插件静态体检器,导入前可先检查包结构。
修复与优化
🇺🇸 Click to expand English Changelog
SnapFind v2.5.4 Release Notes
This release improves OCR performance, model tiers and the settings page, and fixes the missing runtime in the v2.5.3 packages.
OCR performance
- Screenshots are scaled to 1600px before inference, with a scaled-bitmap pool and compacting LOH collection: peak memory on a 4K capture 204 MB → 153 MB, single recognition 586 ms → 435 ms.
- Optional inference subprocess isolates memory further during long sessions.
Models and engines
- Default model updated to PP-OCRv6 tiny: smaller package, faster startup.
- Model tiers are remembered per engine, so Rapid and Paddle no longer overwrite each other.
- The OCR & Language page is split into two exclusive Rapid / Paddle sections, swapped as a whole.
UI and experience
- Removed the switch hover tint; combo boxes collapse on scroll; the release-notes dialog is pre-measured and fades in.
- Fixed blurry text while scrolling the settings page.
- About page: release-notes rows are stacked vertically, the three link buttons share the same width, and the dialog height adapts to content.
Memory and updates
- OCR idle timeout reduced from 60 s to 30 s, unloading the engine and trimming memory when idle; the tray trims the working set every 3 minutes (only when no inference is running).
- Update checks now query three sources in parallel, per-source timeout 8 s → 4 s, worst case ~24 s → 5–6 s; the About page prefers the local cache.
- The single-instance mutex is released only when held, and only on the thread that created it.
Plugins
- The plugin starter ships its own switch / combo / combo-item templates, fixing the dark tint on hover when checked; falls back to host styles if loading fails.
- Added a static plugin checker to validate a package before import.
Fixes
- Fixed the v2.5.3 packages missing the OCR native runtime (
onnxruntime.dlland friends), which broke the first capture (#27). - Packaging now aborts when the OCR runtime or models are missing, so a broken build can no longer be published.
- Fixed GitHub issue templates not showing up; bug and feature forms now appear as expected (#26).