Add GPU acceleration support - #10
Open
xinshoushangdao wants to merge 2 commits into
Open
Conversation
added 2 commits
August 7, 2026 04:26
1. 新增PP-OCRv6的检测和识别模型文件 2. 配置模型文件自动复制到输出目录 3. 重构CrnnNet支持从ONNX元数据加载字符字典 4. 修复AngleNet输入尺寸读取逻辑,兼容多版本模型 5. 更新UI默认模型路径和字典文件 6. 优化空检测框过滤和角度网络可选加载逻辑 7. 修复文件存在性校验的逻辑bug
1. 新增ModeOptions配置项UseGpu和GpuDeviceId,支持DirectML加速 2. 重构ONNX推理会话创建逻辑,针对不同网络类型优化线程策略 3. 为三个推理子网添加ProviderInfo追踪,支持查看当前使用的推理后端 4. 优化OcrResult结果输出,新增各步骤耗时统计和引擎信息展示 5. 为控制台程序添加多配置性能测试脚本 6. 修复Winform界面按钮丢失、布局溢出问题,新增GPU状态实时展示面板 7. 调整项目配置,强制x64编译并拆分ONNX Runtime包依赖 8. 优化图像预处理性能,使用Marshal直接操作内存替代Image方式
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add GPU acceleration support