3

Im searching for a Tesseract OCR wrapper for net core; actualy, when i add the nuget Tesseract package get the warning:

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.

Any help? Is there an alternative that works well?

NhTello
  • 31
  • 1
  • 4
  • Consider to add issue here - [github.com/charlesw/tesseract/issues](https://github.com/charlesw/tesseract/issues) – Dmitry Pavlov Nov 26 '18 at 14:45
  • What way are you referencing the package? Directly to `.NET Core` project or via `Standard` library? [Sometimes](https://stackoverflow.com/a/52469383/804385) you need to add external dependencies to `Standard` library and then reference you library in your `.NET Core` project. – Dmitry Pavlov Nov 26 '18 at 14:49
  • 1
    @DmitryPavlov i think that is directly; im doing this: `dotnet add package Tesseract --version 3.2.0-alpha4` – NhTello Nov 26 '18 at 15:08

1 Answers1

2

The new version supports NetStandard 2.0: https://www.nuget.org/packages/Tesseract/

Simon Mattes
  • 4,866
  • 2
  • 33
  • 53