【问题标题】:Tesseract OCR wrapper for net core?用于网络核心的 Tesseract OCR 包装器?
【发布时间】:2018-11-26 14:16:22
【问题描述】:

我正在寻找用于网络核心的 Tesseract OCR 包装器;实际上,当我添加 nuget Tesseract 包时会收到警告:

Package 'Tesseract 3.0.2' was restored using 
'.NETFramework,Version=v4.6.1' instead of the project target framework 
'.NETCoreApp,Version=v2.1'. This package may not be fully compatible 
with your project.

有什么帮助吗?有没有效果很好的替代方案?

【问题讨论】:

  • 考虑在此处添加问题 - github.com/charlesw/tesseract/issues
  • 你引用包的方式是什么?直接到.NET Core 项目还是通过Standard 库? Sometimes 您需要将外部依赖项添加到 Standard 库中,然后在您的 .NET Core 项目中引用您的库。
  • @DmitryPavlov 我认为这是直接的;我正在这样做:dotnet add package Tesseract --version 3.2.0-alpha4

标签: c# asp.net-core .net-core ocr tesseract


【解决方案1】:

新版本支持NetStandard 2.0:https://www.nuget.org/packages/Tesseract/

【讨论】:

  • Prerelease 版本使用 Tesseract 4,比 3 好很多。
猜你喜欢
  • 2021-02-23
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2022-09-30
  • 1970-01-01
  • 2018-11-26
  • 2020-10-16
  • 1970-01-01
相关资源
最近更新 更多