tesseract
tesseract copied to clipboard
PixConverter .NET Core support.
Allow PixConverter to be used by .NET Standard projects via the System.Drawing.Common nuget package.
Apart from the refactoring (which should've been done as a separate commit or PR) the System.Drawing seems needed.
So... does that mean you are not going to merge the pull request?
@charlesw @groogiam Why is this not merged yet? It really just needs a System.Drawing.Common nuget package reference
Not sure whether it is possible to create pull request for pull request, so will just write it here. If this to be merged, NETFULL conditions should probably be removed from the following bitmap-related code too:
- BitmapHelper.cs
- ColorTests.cs
- EngineTests.cs
- LeptonicaPerfomanceTests.cs
- TesseractEngine.cs
For anyone in a hurry, use @groogiam's Tesseract_463 in nuget. It seems a forked version of this repo with PixConverter applied. I've migrated .Net 4.7 to Core 3.0 without any trouble with this.
Install-Package Tesseract_463 -Version 3.3.0.1
Note that the tessdata should be this; https://github.com/tesseract-ocr/tessdata/releases/tag/3.04.00
FYI I've released a new package called tesseract.Drawing that pairs with tesseract package to add support for bitmaps.
Does this solve your problems?
Note both are currently prerelease packages, target tesseract 4.1, and require the vs 16 (2019) C++ runtime.
On Fri., 18 Oct. 2019, 19:57 YoungjaeKim, [email protected] wrote:
For anyone in a hurry, use Tesseract_463 in nuget. It seems a forked version of this repo with PixConverter applied. I've migrated .Net 4.7 to Core without any trouble with this.
Install-Package Tesseract_463 -Version 3.3.0.1
Note that the tessdata should be this; https://github.com/tesseract-ocr/tessdata/releases/tag/3.04.00
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/charlesw/tesseract/pull/463?email_source=notifications&email_token=AAB7HSBMTPWIIKT7QO5YR4LQPF3AZA5CNFSM4GYI6Z7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBTN4ZY#issuecomment-543612519, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB7HSFKJR3RECWL7EPIV73QPF3AZANCNFSM4GYI6Z7A .