You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
背景
仓库中已经有 OnnxDetector、OnnxRecognizer 和 OpenCV 5 DNN 的托管封装,但当前随 Windows 程序分发的 ezcv_native.dll 没有导出 DNN/ONNX 入口,实际初始化会抛出 EntryPointNotFoundException;脚本层也没有可用的四参数 OCR_INIT 入口来选择 ONNX 后端。
这个 PR 把现有能力补成可实际使用、可配置的通用 ONNX OCR 后端。默认 Tesseract 路径保持不变,也没有引入额外的 ONNX Runtime 包。
实现内容
范围边界
ECS 示例
完整清单格式见 docs/OnnxOcr.md。
验证