一个自包含的纯 CPU OCR DLL,专为 Windows 7 设计,通过 OpenCV 5 DNN 集成 PP-OCR 模型,无需任何外部运行时,支持 .NET Framework 3.5。

Stars

17

7 天增长

暂无数据

Fork 数

3

开放 Issue

0

开源协议

MIT

最近更新

2026-07-15

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它为无法升级的旧版工业 Windows 7 系统提供了稳定、无依赖的 OCR 解决方案,绕过了 Python、CUDA 或 GPU 驱动的需求。

适合谁使用

  • 在 Windows 7 上维护 .NET 3.5 应用程序的工业软件开发人员
  • 在离线工厂车间 Windows 7 电脑上部署 OCR 的系统集成商
  • 需要即插即用 OCR 库且无需安装运行时的 C# 开发人员
  • 处理依赖受限环境的传统系统工程师

典型使用场景

  • 在运行 Windows 7 的生产线上识别标签、铭牌和包装
  • 将 OCR 嵌入现有的 .NET 3.5 WinForms 或控制台应用,无需现代运行时
  • 在旧 PC 上运行本地 HTTP OCR 服务,用于批量文档数字化
  • 工业检测中印刷收据或固定位置文档的离线文本提取

项目优势

  • 零外部运行时 – 仅导入 KERNEL32 和 ole32;无需 OpenCV DLL、VC++ 可再发行组件或 Python
  • 支持 Windows 7 SP1 和 .NET Framework 3.5,支持中文目录名和 UTF-16 路径
  • 通过静态链接 OpenCV 和 C++ 运行时,生成约 14 MB 的单一 DLL,解压即可运行
  • 提供多种集成方式:直接 C ABI、C# P/Invoke、HTTP 服务器和 Windows 服务

使用前须知

  • 纯 CPU 推理可能比 GPU 方案慢;OpenCV DNN 并非在所有 CPU 上都是最快的
  • 原生引擎 C++ 源码不包含在内 – 无法从此仓库重新构建预编译的 DLL
  • x86 包仅包含 tiny 模型且吞吐量较低;调用方和 DLL 架构必须完全匹配

README 快速开始

Quick Start

项目描述

Pure-CPU PP-OCR native DLL · .NET 3.5 / C ABI · zero runtime deps · Windows 7+. 纯CPU OCR原生库,零依赖,支持.NET 3.5和Win7。

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

alecjacobson
精选
alecjacobson GitHub avatar

alpha-wrap

A CGAL-free, MIT-licensed reimplementation of the Alpha Wrapping algorithm that takes a defective triangle soup and produces a watertight, manifold, outward-oriented mesh with controllable level of detail and tightness.

C++
5
hypervising
精选
hypervising GitHub avatar

gta-enhanced-audio-queue-poc

A proof-of-concept tool that patches a synchronous three-slot audio queue in GTA V Enhanced, boosting frame rates from ~260 to ~499 FPS by removing coarse wait delays.

设计与创意
3
ammaarreshi
ammaarreshi GitHub avatar

Generals-Mac-iOS-iPad

This repository ports Command & Conquer Generals: Zero Hour to run natively on Apple Silicon Macs, iPhones, and iPads without emulation, adding touch controls and modern rendering.

C++
1,523