Commit Graph

17 Commits

Author SHA1 Message Date
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
Takaranoao
cbaf1f6c36 更新OpenCvSharp4版本到4.10.0,PaddleOCR到2.7.0.3,尝试修复bitblt导致崩溃的问题 (#1381) 2025-04-01 14:47:13 +08:00
qhy040404
c490d29aa1 code cleanup 2024-08-14 18:01:02 +08:00
辉鸭蛋
be99fb3605 refactor: auto fish 2024-05-03 20:10:43 +08:00
辉鸭蛋
c2d3e132e8 refactor: RectArea -> Region compilation passed 2024-05-02 14:45:07 +08:00
辉鸭蛋
8affeff26f optimization 2024-04-04 22:35:36 +08:00
huiyadanli
6a7eab49ed new auto expedition task 2023-12-23 18:30:55 +08:00
huiyadanli
4ba6a4540e adjust expedition waiting time 2023-11-18 00:42:21 +08:00
huiyadanli
30f161eba7 fix expedition character idle judge 2023-11-13 23:31:07 +08:00
huiyadanli
e2143429c0 add PromptDialog & add explore config 2023-11-12 22:51:03 +08:00
huiyadanli
71eaecab0d add OCR within 3s of auto skip button recognition failure 2023-11-11 20:26:29 +08:00
huiyadanli
4feb7b489f update auto expedition 2023-11-09 22:53:33 +08:00
huiyadanli
dbec380c69 fix: auto expedition skip 2023-11-08 21:50:07 +08:00
huiyadanli
3974fbb351 auto expedition: delay switch area time 2023-11-07 00:52:35 +08:00
huiyadanli
dbadaa265c auto expedition: ui 2023-11-05 21:23:31 +08:00
huiyadanli
d43a5a27db auto expedition: init 2023-11-05 00:33:17 +08:00