Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

OcrLiteOnnxLibTest

NotificationsYou must be signed in to change notification settings

benjaminwan/OcrLiteOnnxLibTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project下载

介绍

  • 本项目为OcrLiteOnnx 动态运行库的调用范例。

依赖项下载

  1. 下载opencv,下载地址
  • OpenCV静态库:opencv-(版本号)-平台.7z,
  • 把压缩包解压到opencv-static目录,windows平台需要注意目录层次,解压后目录结构如下
  • windows平台请选择vs2017版本(也可以用于vs2019编译)
  • OCR dll版本v1.7.0依赖opencv 4.6.0
opencv-static├── OpenCVWrapperConfig.cmake├── linux├── macos├── windows-x64└── windows-x86
  1. 下载OcrLib,下载地址
  • 文件名:平台-clib-.7z,
  • 把压缩包解压到OcrLib目录,windows平台需要注意目录层次,解压后目录结构如下
OcrLib├── Darwin-CLIB│ ├── OcrLibConfig.cmake│ ├── include│ └── lib├── Linux-CLIB│ ├── OcrLibConfig.cmake│ ├── include│ └── lib├── OcrLibWrapper.cmake├── win-CLIB-Win32│ ├── OcrLibConfig.cmake│ ├── bin│ ├── include│ └── lib└── win-CLIB-x64    ├── OcrLibConfig.cmake    ├── bin    ├── include    └── lib

编译环境

  1. Windows 10 x64 + vs2019 + cmake(请自行安装)
  2. macOS 10.15
  3. Linux Ubuntu 1804 x64

Windows编译说明

  • windows双击build.bat,Linux&Mac ./build.sh
  • 选择编译选项
  • 按照编译完成的提示运行run-test脚本查看测试结果

注意事项for windows

  • 如果是直接从github点击"download zip"按钮下载的代码,文件默认格式是Linux的
  • 此时,需要把工程内的所有bat文件用UE等文本编辑器改为windows格式

[8]ページ先頭

©2009-2025 Movatter.jp