Commit Graph

86 Commits

Author SHA1 Message Date
辉鸭蛋
5f4185b7f0 添加动态修改log窗口位置的功能 2026-01-17 16:07:34 +08:00
KongDemian
71e64fe2a0 feat: 添加对Wine平台的兼容 (#2572)
Co-authored-by: 辉鸭蛋 <huiyadanli@gmail.com>
2026-01-01 14:10:26 +08:00
ShadowLemoon
300656761d refactor: 给没有跟随主题的弹窗加上跟随主题的功能 (#2461) 2025-11-14 16:29:49 +08:00
辉鸭蛋
06ac010962 解决亮色主题下兑换码信息图标颜色问题 2025-10-17 01:06:51 +08:00
辉鸭蛋
e6d1867b26 添加兑换码窗口以显示最新兑换码动态 (#2276) 2025-10-12 19:30:48 +08:00
大头鱼
d37dd443a7 [BUG修复] 为Windows10添加深浅主题切换功能以确保其界面正常显示 (#2125) 2025-09-04 00:48:40 +08:00
大头鱼
126e39f77c 完善Markdown To FlowDocument的,在WIn11下为bgi添加浅色主题支持 (#2082) 2025-08-24 15:58:21 +08:00
辉鸭蛋
0cec1aecfa 自动使用兑换码 (#1895) 2025-07-20 20:24:00 +08:00
辉鸭蛋
54b2094abc chore: update BetterGI.Assets package version to 1.0.5 and add map_info.json to asset paths 2025-07-12 12:30:10 +08:00
辉鸭蛋
6f87a0c4d0 脚本仓库V2 (#1707)
* feat: add custom drawer control and integrate it into the UI

* 更新仓库UI

* feat: implement Git-based repository update mechanism and improve error handling

* feat: add reset repository functionality with confirmation dialog

* 修改打开队伍配置界面的重试次数和日志

* feat: add drawer open/close events and improve drawer closing logic

* feat: enhance WebpagePanel navigation handling and improve initialization logic

* feat: add drawer opened event handling and improve navigation completion logic

* feat: implement dynamic height adjustment for WebpagePanel using Grid container

* feat: update drawer dimensions and apply dynamic sizing based on position

* feat: add CustomDrawer component and integrate with MapPathingViewModel for enhanced navigation

* feat: integrate WebView2 for Markdown file navigation in MapPathingViewModel
2025-06-17 03:13:56 +08:00
辉鸭蛋
467fd6d911 灰度更新推送逻辑 2025-06-01 00:18:52 +08:00
Takaranoao
abd823c4b5 一堆ocr的bug修复 (#1575)
* NormalizeToTensorDnn 优化,可能会有精度损失

* 修复 OCR 强制使用CPU时还会使用GPU缓存模型的问题

* Refactor OCR engine namespaces and improve resource management in Det class

* ocr预热图换成彩色多行文本,热的更彻底。

* BgiYoloPredictor 的 析构函数

* 修复TensorRT下使用CPU OCR的情况下TensorRT缓存被错误命中的问题

* 重构OCR初始化,避免cultureInfoName改变导致的预热失效

* 删掉之前的资源文件

* 修复优化模型的路径设置错误
2025-05-12 22:38:32 +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
辉鸭蛋
50e66a4326 新版本删除老特征数据 2025-04-26 20:27:42 +08:00
辉鸭蛋
1097d5a27f update ux 2025-04-13 21:43:51 +08:00
FishmanTheMurloc
6d4f8b80e8 Feat/multi lan (#1336)
* 记录一次对hutaofisher的访谈,帮助开发者理解其算法

* 本地化HelloWorld

* .csproj取消windows版本号,此处导致了IDE在新建代码文件和自动生成代码时,默认命名空间丢失的问题。已知VisualStudio和ReSharper存在这个问题。

* 优化扩展方法写法,改为从localizer扩展;Converter优化写法,避免冲突;新增两种语言,待测试ocr效果

* Revert ".csproj取消windows版本号,此处导致了IDE在新建代码文件和自动生成代码时,默认命名空间丢失的问题。已知VisualStudio和ReSharper存在这个问题。"

This reverts commit 8bd7ee74c5.

* localizer改为由构造函数传入以支持单元测试;一个英语上钩的单元测试

* 传送任务支持英语游戏界面;本地化参数挪至OtherConfig类下,但界面位置暂不挪动,待定

* 调整resx位置风格,放在直接使用字符串的类下;一条龙合成树脂及领取每日奖励支持游戏内中英双语

* 删除无用碎片文件

* 删去两个不必要的Sdcb包引用

* Paddle服务类去掉分类模型;检测和识别新增支持繁中和法语,配有单元测试;因小语种识别效果不理想,使用正则匹配替换多处识别文本相等或包含判断;钓鱼、一条龙合成树脂及领取每日奖励支持游戏内繁中和法语;

* 检查今日奖励任务的多语言化;右侧联机的P图标检测区域宽度缩减,避免英语角色名被误识别成P

* AutoDomainTask的游戏多语言化,由于我的游戏账号无法测试,仅配一些测试用例

* 修复有3个Mizuki导致异常的bug,临时用拼音代替新角色英文名,并为该数据初始化方法添加单元测试

* 瓦雷莎删去别名“牛牛”,因荒泷一斗已占用此别名;别名加载和读取优化

* 加个锁避免单元测试中多线程初始化paddle崩溃
2025-03-28 11:00:08 +08:00
辉鸭蛋
366e5d140a add WelcomeDialog 2025-03-09 18:55:25 +08:00
辉鸭蛋
33d742bd4d Merge branch 'main' into pr/1054 2025-02-01 22:16:36 +08:00
辉鸭蛋
c2709544fa allow full folder security 2025-02-01 13:33:05 +08:00
辉鸭蛋
70a8d544fd ui: win10 not display switch blur button 2025-01-30 10:29:14 +08:00
辉鸭蛋
2536b14af1 fist run not init key binding 2025-01-29 22:58:23 +08:00
辉鸭蛋
b130351d8d bgi.huiyadan.com -> bettergi.com 2025-01-29 08:41:11 +08:00
辉鸭蛋
3e114ad358 添加windows通知 2025-01-28 13:12:14 +08:00
辉鸭蛋
af0a869c70 shutdown when user config migrate 2025-01-26 17:09:19 +08:00
辉鸭蛋
bd72e6420d fist run old version clear 2025-01-26 12:55:57 +08:00
辉鸭蛋
1afeb0818a #974 2025-01-25 15:55:36 +08:00
辉鸭蛋
1d5f5c772e update ui 2025-01-25 13:55:19 +08:00
辉鸭蛋
158688d435 fix patch 1 2025-01-24 18:08:56 +08:00
辉鸭蛋
917ba1460d fix some bug 2025-01-24 00:16:11 +08:00
辉鸭蛋
c61691ec1e init key binding on first run 2025-01-20 00:56:12 +08:00
辉鸭蛋
ca96204e01 install path 2025-01-20 00:22:40 +08:00
辉鸭蛋
dcafd64139 save theme 2025-01-18 17:54:59 +08:00
辉鸭蛋
a22002966e auto update 2025-01-13 01:17:11 +08:00
__Chisato__
6536cad9fd 增加了更改窗口模糊的选项 2025-01-06 20:11:51 +08:00
辉鸭蛋
e3689cd21a ui opt 2024-11-22 22:36:32 +08:00
辉鸭蛋
e595b67d33 msg more info 2024-11-02 13:05:48 +08:00
辉鸭蛋
dcd7831368 auto fix win11 bitblt 2024-11-02 12:57:58 +08:00
辉鸭蛋
b2cf62a21c add local script repo web
重构了 `AvatarClassifyGen.cs` 中的图像读取逻辑,现在只读取一个图像文件。`AllConfig.cs` 中添加了 `ScriptConfig` 类的配置,并监听其属性变化。`ScriptRepoUpdater.cs` 中引入了多个新命名空间,添加了 `_logger` 和 `_webWindow` 字段,新增了 `AutoUpdate` 方法,修改了 `UpdateCenterRepo` 方法,新增了 `FindCenterRepoPath`、`ImportScriptFromUri` 和 `OpenLocalRepoInWebView` 方法。`WebpagePanel.cs` 中添加了 `OnWebViewInitializedAction` 属性。`WebpageWindow.cs` 中注释掉了背景色设置。`MainWindow.xaml` 中修改了标题栏图标路径。`JsListPage.xaml`、`KeyMouseRecordPage.xaml` 和 `MapPathingPage.xaml` 中修改了按钮命令绑定。`MainWindowViewModel.cs` 中添加了 `AutoUpdate` 方法调用。`JsListViewModel.cs`、`KeyMouseRecordPageViewModel.cs` 和 `MapPathingViewModel.cs` 中添加了 `Config` 属性和 `OnOpenLocalScriptRepo` 命令。新增了 `ScriptConfig.cs` 和 `RepoWebBridge.cs` 文件,定义了 `ScriptConfig` 和 `RepoWebBridge` 类。
2024-10-13 18:13:28 +08:00
辉鸭蛋
c75dbbc241 add script repo downloader 2024-10-13 13:36:06 +08:00
ema
335b053b32 change: moved image assets to new folder 2024-09-30 10:12:13 +08:00
ema
24d798d6b2 UI/UX: use MessageBox from Violeta 2024-08-20 23:46:29 +08:00
ema
4626863f30 fix #446 2024-08-12 00:23:43 +08:00
辉鸭蛋
9a7e4b5a01 move log info 2024-07-24 22:12:13 +08:00
ema
1cf134ab30 show release markdown 2024-06-27 00:08:37 +08:00
辉鸭蛋
6b7e51a78e edit UI title 2024-06-01 18:21:08 +08:00
辉鸭蛋
36dcbebdfa add GPU title flag 2024-04-06 12:00:14 +08:00
Lightczx
1c97b425f4 refine 2024-03-28 14:00:29 +08:00
Mr-Quin
087956b161 Add option to minimize to tray when existing 2024-03-25 22:45:12 -07:00
ema
ce89e41b60 fix: process can't be exited by X button
#298
2024-03-10 02:58:30 +08:00
ema
24c4a021cb restruct: add mvvm with NotifyIcon 2024-03-10 02:40:40 +08:00