-
Notifications
You must be signed in to change notification settings - Fork 741
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: Any plan to support .NET Core? #378
Comments
Yes, it's next on my list. Can't give an exact ETA but stay tuned.
…On Thu., 2 Nov. 2017, 07:03 Gaurav Aroraa, ***@***.***> wrote:
Hi @charlesw <https://github.com/charlesw>
Any plan to support .NET Core?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#378>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAPzyFuAm40rWYupfYcLqUuGwVgq1d4Nks5syM57gaJpZM4QOvhX>
.
|
Do you intend for it to work cross-platform? Does the [RuntimeDllImport] approach use any APIs not available on .NET core or on certain platforms? |
Yes, it should be cross platform. The main issues are more to do with the
integration into .net that's not available in dotnet standard like asp.net
and system.drawing.
My current thoughts are just to exclude these bits from the dotnet standard
target. Though this could create some issues if used from asp.net core.
…On Thu., 16 Nov. 2017, 08:34 Aidan Ryan, ***@***.***> wrote:
Do you intend for it to work cross-platform? Does the [RuntimeDllImport]
approach use any APIs not available on .NET core or on certain platforms?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#378 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAPzyKzt0hLoH3Icjtp4UY9HIK66VEccks5s21jogaJpZM4QOvhX>
.
|
Great. What aspects of ASP.NET are you using? I was able to build and run your lib on Windows with a light refactor of the reflection stuff and used a shim for System.Drawing.Imaging: https://www.nuget.org/packages/CoreCompat.System.Drawing.v2 I'll fork and push my work, could be useful at least as a reference, or I can help out with this if you like. |
Yes thanks that would be helpful.
As for asp.net that was used to get around how iis creates a shadow copy of
the managed dlls which makes it difficult to find the unmanaged dlls.
…On Thu., 16 Nov. 2017, 15:27 Aidan Ryan, ***@***.***> wrote:
Great. What aspects of ASP.NET are you using?
I was able to build and run your lib on Windows with a light refactor of
the reflection stuff and used a shim for System.Drawing.Imaging:
https://www.nuget.org/packages/CoreCompat.System.Drawing.v2
I'll fork and push my work, could be useful at least as a reference, or I
can help out with this if you like.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#378 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAPzyJ55GiWNUolYXg7Q4ZZCFLDz96_zks5s27mYgaJpZM4QOvhX>
.
|
OK, here's my fork with the main lib and unit tests ported to NetCore. Next thing would be to try running it on linux. |
i am looking for new dll file for asp.net code . because i am using OCR for punjabi language but version 3.2 is not including spaces b/w strings and version 3.4 is including space b/w strings. so please assist me how do i update my dll file to 3.4. |
Hi @charlesw, I am using Tesseract (3.2.0-alpha4) in my asp .net core project. |
Any updates for this issue? In the meantime I'm thinking of creating a console app or windows service and using SignalR to communicate an image URI and send back results to caller (.net core web application). |
@gtaylor44 - Sounds interesting. Could you please share the Github link for your project? |
It's already done, check out the develop branch. Also see #298. |
Note that Bitmaps are not supported when targeting dotnet core. You'll need to either use leptonica directly or convert your images to leptonica's pix structure. |
Hello! |
Your options are:
* If you know it's a tiff you can use Pix.LoadTiffFromMemory
* Use another library to load image and then create a pic from that. See
the BitmapCoverter class in source.
…On Wed., 16 Jan. 2019, 20:25 AsValeO ***@***.*** wrote:
Hello!
Please, describe how to get Tesseract.Pix from byte[] in .NET Core.
I've tried to use leptonica.net but had no success.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#378 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAPzyGbbVoAXUb0lGyF3q8aqMffhon-Vks5vDvAJgaJpZM4QOvhX>
.
|
Hi @charlesw
Any plan to support .NET Core?
The text was updated successfully, but these errors were encountered: