Unofficial API for ToText in .NET
NuGet: https://www.nuget.org/packages/ToText.API
To-Text Converter is a solution, which allows you to convert images and PDFs containing written characters to text documents with no need for any software installation.
Supported file formats: .tif, .jpg, .bmp, .png, .pdf
varclient=newToTextClient();// using a file in your pc (image or pdf file)vartext1=client.Convert($"{filePath}",Languages.English);// using Image objectvartext2=client.Convert(image,Languages.English);// using a byte arrayvartext3=client.Convert(byteArray,Languages.English);Synchronous Example
varclient=newToTextClient();varresult=client.Convert(@"..\..\..\assets\sample0.png",Languages.English);Asynchronous Example
varclient=newToTextClient();varresult=awaitclient.ConvertAsync(@"..\..\..\assets\sample1.png",Languages.English);Full Test Example Here