Commit Graph

39 Commits

Author SHA1 Message Date
躁动的小氨气
ba222b90a6 非原神窗口打印窗口名称 (#2610) 2026-01-10 21:00:32 +08:00
Shatyuka
b2958ac646 用Image<Rgb24>替换Bitmap (#1563) 2025-05-11 11:03:53 +08:00
Takaranoao
5b3bac478d 升级多个依赖&增加额外的推理加速功能&迁移OCR (#1459)
* 更新多个NuGet包至最新版本

* 重构模型加载以适应yolosharp

* feat: 改变接口。TensorRT缓存的初步支持,修改配置项。

* 更新依赖并调整变量顺序,修复加载问题

* 更新AvalonEdit和Microsoft.ML.OnnxRuntime包至最新版本,以修复问题

* fix: downgrade Microsoft.ML.OnnxRuntime.DirectML to version 1.21.0

* typo

* fix: change log level from warning to error for ONNX provider loading failure

* 增加 paddle ocr 的 onnx 模型

* feat: add PaddleOCR models for Chinese, English, and Latin recognition

* 使用cv的DNN生成Tensor,加速Yap文字识别

* feat: 尝试搓一个onnx的ocr

* clean up code

* chore: update OpenCvSharp4 package versions to 4.10.0.20241108

* 修复因格式化代码而丢的引用

* chore: update Microsoft.ML.OnnxRuntime.DirectML package to version 1.21.1 and improve logging for ONNX provider initialization

* chore: 等yolosharp更新再升级onnx

* chore: add Microsoft.ML.OnnxRuntime.Managed package and clean up logging in Det class

* fix: refactor output tensor handling in Det class for improved clarity

* 补充注释,修复DML的OCR问题

* 默认OCR推理使用CPU,整理配置

* fix error NETSDK1152: 找到了多个具有相同相对路径的发布输出文件

* fix(logging): enhance debug log for ONNX initialization with provider details

* 修复TensorRT模型缓存的加载问题

* fix(onnx): improve cached model retrieval and add file existence check

* fix(ocr): replace SrcGreyMat with SrcMat for region of interest processing

* fix(onnx): add file existence check for cached model and adjust session options for DirectML provider

* 增加硬件加速配置UI界面

* 移除旧的OCR模型

* 错别字

---------

Co-authored-by: 辉鸭蛋 <huiyadanli@gmail.com>
2025-05-11 01:08:37 +08:00
提瓦特钓鱼玳师
cb9d53fe57 添加异步目录读取 (#1472) 2025-04-24 23:15:10 +08:00
辉鸭蛋
e497f6ec79 1. 抽离部分内部类,格式化代码
2. ValueTuple 已过时,元组建议使用 ()
3. 暂停变量不建议放在 TaskContext.Instance().Config.Suspend 中,会被持久化到配置内
4. 修改一些方法和变量的存放位置
2024-12-21 14:35:42 +08:00
zjl
b99144cd3d 调整暂停为sleep方式,能一直维持,除了离开太远,会跳过当前任务,应该没多大问题。低血量尝试队伍回血。调度器右键重命名。 2024-12-20 20:13:51 +08:00
zjl
5162bcc88f 参考失焦,增加了快捷键暂停。调度器任务支持从指定任务开始(右键 下一个任务从此执行,重启软件,或取出待执行任务后,该状态将会清空)。 2024-12-17 23:12:56 +08:00
辉鸭蛋
11ec9bc45d refactor: CancellationTokenSource -> CancellationToken 2024-10-19 01:50:21 +08:00
辉鸭蛋
8bb1d728ff refactor: solo task 2024-09-22 23:56:39 +08:00
qhy040404
c490d29aa1 code cleanup 2024-08-14 18:01:02 +08:00
辉鸭蛋
3b8429d3c4 auto tcg: add Kaveh 2024-07-28 13:53:49 +08:00
ema
9378a134bd remove: package H.InputSimulator #154 2024-05-12 05:16:27 +08:00
辉鸭蛋
b1e33a6339 refactor: QuickSereniteaPotTask 2024-05-04 11:49:22 +08:00
辉鸭蛋
98b744f33f auto tcg opt 2024-05-03 21:24:17 +08:00
辉鸭蛋
c2d3e132e8 refactor: RectArea -> Region compilation passed 2024-05-02 14:45:07 +08:00
辉鸭蛋
94a049e066 fix compilation error 2024-04-04 14:48:01 +08:00
Mr-Quin
675d3cdb50 Change all references of Retry to NewRetry 2024-03-29 20:26:22 -07:00
ema
c5f81dd447 restruct: Retry methods 2024-02-29 10:29:29 +08:00
huiyadanli
7883cc2d29 auto genius invokation: optimize dice count OCR & dice recognition is sorted by character element priority #165 2024-01-13 22:49:14 +08:00
huiyadanli
703e27662c auto genius invokation optimize #136 2023-12-10 13:25:42 +08:00
huiyadanli
b45bbf9030 auto genius invokation: retry multi when capture failed 2023-12-06 23:06:51 +08:00
huiyadanli
f8f8414909 AutoGeniusInvokation: fix last card burning 2 2023-11-26 00:07:50 +08:00
huiyadanli
408e372481 auto wood 2023-11-25 22:30:18 +08:00
huiyadanli
7c3e193ca7 fix the last card burn #29 2023-11-25 12:59:17 +08:00
huiyadanli
d679ef64f9 improve dice recognition rate #29 2023-11-25 02:46:28 +08:00
huiyadanli
8d4019010a RectConfig -> Rect test pass 2023-11-25 01:13:12 +08:00
huiyadanli
34725b5122 fix OpenCvSharp.Rect can't deserialize 2023-11-22 00:30:06 +08:00
huiyadanli
82a6c229e3 some optimizations 2 2023-11-13 02:02:07 +08:00
huiyadanli
b8ed185e2b some optimizations 2023-11-13 02:01:57 +08:00
huiyadanli
1356f5208c fix auto genius invokation 2023-11-13 01:27:38 +08:00
huiyadanli
117fc39dd2 set dice count by ocr #14 2023-11-13 00:17:58 +08:00
huiyadanli
95f4bff66e extend the wait time of the last card #14 2023-11-13 00:02:43 +08:00
huiyadanli
0743717f77 use hp ocr recognize which character active #14 2023-11-13 00:01:11 +08:00
huiyadanli
4f5619cf31 AutoGeniusInvokation: add sleep delay settings 2023-10-22 15:40:05 +08:00
huiyadanli
bfca926c07 AutoGeniusInvokation: add hotkey 2023-10-22 15:28:38 +08:00
huiyadanli
6256a80c01 fix some Genius Invokation bug 2023-10-22 14:17:41 +08:00
huiyadanli
63dbc54095 finsh Genius Invokation 2023-10-22 02:12:13 +08:00
huiyadanli
bda00ad054 AutoGeniusInvokation: add entry 2023-10-21 18:48:36 +08:00
huiyadanli
feb09bb6bc AutoGeniusInvokation: migrate code 2023-10-21 14:08:16 +08:00