Aspose.OCR-Cloud
24.8.0
dotnet add package Aspose.OCR-Cloud --version 24.8.0
NuGet\Install-Package Aspose.OCR-Cloud -Version 24.8.0
<PackageReference Include="Aspose.OCR-Cloud" Version="24.8.0" />
paket add Aspose.OCR-Cloud --version 24.8.0
#r "nuget: Aspose.OCR-Cloud, 24.8.0"
// Install Aspose.OCR-Cloud as a Cake Addin #addin nuget:?package=Aspose.OCR-Cloud&version=24.8.0 // Install Aspose.OCR-Cloud as a Cake Tool #tool nuget:?package=Aspose.OCR-Cloud&version=24.8.0
<img src="docs/Resources/heading.png">
Aspose.OCR Cloud .NET SDK 24.8.0
Aspose.OCR Cloud is an optical character recognition as a service. With it, you can easily add OCR functionality to almost any device or platform, including netbooks, mini PCs, or even entry-level smartphones.
Our engine can read text from images, photos, screenshots and scanned PDFs in a wide variety of European, Cyrillic and Oriental fonts, returning results in the most popular document formats. Powerful built-in image processing filters based on neural networks automatically correct skewed and distorted images, automatically remove dirt, smudges, scratches, glare and other image defects that can affect recognition accuracy. To further improve the results, Aspose.OCR Cloud has a built-in spell checker that automatically replaces misspelled words and saves you the trouble of manually correcting the recognition results.
Even the complex recognition tasks can be done with a couple of API calls. To make interacting with Aspose.OCR Cloud services from .NET applications even easier, we provide the software development kit (SDK) for .NET. It handles all the routine operations such as establishing connections, sending API requests, and parsing responses, wrapping all these tasks into a few simple classes.
Aspose.OCR Cloud SDK for .NET is open source under the MIT license. You can freely use it for any projects, including commercial and proprietary applications, as well as modify any part of its code.
Try Online
Image to Text | Image to Searchable PDF | PDF OCR | Receipt Scanner |
---|---|---|---|
Get started
Aspose.OCR Cloud is an on-demand service with a free tier. In order to use Aspose.OCR Cloud service, you must create an account at Aspose Cloud API:
- Go to https://dashboard.aspose.cloud/
- If you are already registered with Aspose, sign in with your user name and password.
Otherwise, click Don’t have an account? Sign Up link and create a new account. - Check out more information about available subscription plans and a free tier limits.
Aspose values your privacy and takes technical, security and organizational measures to protect your data from unauthorized use, accidental loss or disclosure. Read our Privacy Policy and Terms of Service for details.
Authorization
Aspose.OCR Cloud follows industry standards and best practices to keep your data secure. All communication with OCR REST API is done using JWT authentication, which provides an open-standard, highly secure way to exchange information. Time-limited JWT tokens are generated using Client ID and Client Secret credentials that are specific for each application. To obtain the credentials:
Sign in to Aspose Cloud API Dashboard.
Go to Applications page.
Click Create New Application button.
Give the application an easily recognizable name so it can be quickly found in a long list, and provide an optional detailed description.
Create the cloud storage by clicking the plus icon and following the required steps. You can also reuse existing storage, if available.
Aspose.OCR Cloud uses its own internal storage, so you can provide the bare minimum storage options:- Type: Internal storage
- Storage name: Any name you like
- Storage mode: Retain files for 24 hours
Click Save button.
Click the newly created application and copy the values from Client Id and Client Secret fields.
Pass in the values from the Client ID and Client Secret fields when initializing the required OCR API.
Running demo
- Check out the SDK or install it from NuGet.
- Open Examples demo solution.
- Provide your Client ID and Client Secret (see Authorization above).
- Run the project.
<p align="center"> <a title="Download ZIP" href="https://github.com/aspose-ocr-cloud/aspose-ocr-cloud-dotnet/archive/master.zip"> <img src="Docs/Resources/download.png" /> </a> </p>
What was changed in version 24.8.0
A summary of recent changes, enhancements and bug fixes in Aspose.OCR Cloud SDK for .NET 24.8.0 release:
Key | Summary | Category |
---|---|---|
OCR‑3930 | Added support for 149 recognition languages. | Enhancement |
REST API changes: https://releases.aspose.cloud/ocr/release-notes/2024/aspose-ocr-cloud-24-8-0-release-notes/
Public API changes and backwards compatibility
This section lists all public API changes introduced in Aspose.OCR Cloud SDK for .NET 24.8.0 that may affect the code of existing applications.
Added public APIs:
No changes.
Updated public APIs:
The following public APIs have been updated in this release:
JSON result type
{{% alert color="info" %}} Compatibility: fully backward compatible. {{% /alert %}}
Aspose.OCR Cloud greatly expands the number of languages supported. We have added a total of 149 languages based on Latin, Cyrillic, Chinese and Indic scripts. By default, the text is considered to be in English.
Language | Value |
---|---|
Afrikaans | Language.Afrikaans |
Albanian | Language.Albanian |
Arabic | Language.Arabic |
Awadhi | Language.Awadhi |
Azerbaijani | Language.Azerbaijani |
Belorussian | Language.Belorussian |
Bemba | Language.Bemba |
Bengali | Language.Bengali |
Betawi | Language.Betawi |
Bhojpuri | Language.Bhojpuri |
Bikol | Language.Bikol |
Bosnian | Language.Bosnian |
Bouyei | Language.Bouyei |
Bulgarian | Language.Bulgarian |
Cantonese | Language.Cantonese |
Catalan | Language.Catalan |
Cebuano | Language.Cebuano |
Chattisgarhi | Language.Chattisgarhi |
Chechen | Language.Chechen |
Chichewa | Language.Chichewa |
Chinese | Language.Chinese |
Croatian | Language.Croatian |
Czech | Language.Czech |
Danish | Language.Danish |
Dhundari | Language.Dhundari |
Dimli | Language.Dimli |
Dong | Language.Dong |
Dutch | Language.Dutch |
English | Language.English |
Handwritten English | Language.HWT_ENG |
Estonian | Language.Estonian |
Finnish | Language.Finnish |
French | Language.French |
Galician | Language.Galician |
Gan | Language.Gan |
Garhwali | Language.Garhwali |
Georgian | Language.Georgian |
German | Language.German |
Gilaki | Language.Gilaki |
Greek | Language.Greek |
Gusii | Language.Gusii |
Hakka | Language.Hakka |
Haryanvi | Language.Haryanvi |
Hausa | Language.Hausa |
Hebrew | Language.Hebrew |
Hiligaynon | Language.Hiligaynon |
Hindi | Language.Hindi |
Hmong | Language.Hmong |
Hungarian | Language.Hungarian |
Ilocano | Language.Ilocano |
Indonesian | Language.Indonesian |
Italian | Language.Italian |
Japanese | Language.Japanese |
Javanese | Language.Javanese |
Kabardian | Language.Kabardian |
Kanauji | Language.Kanauji |
Kanuri | Language.Kanuri |
Kapampangan | Language.Kapampangan |
Kazah | Language.Kazah |
Kiche | Language.Kiche |
Kikongo | Language.Kikongo |
Konkani | Language.Konkani |
Korean | Language.Korean |
Kumauni | Language.Kumauni |
Kurdish | Language.Kurdish |
Lamani | Language.Lamani |
Latin | Language.Latin |
Latvian | Language.Latvian |
Lithuanian | Language.Lithuanian |
Low German | Language.Low_German |
Luguru | Language.Luguru |
Luo | Language.Luo |
Macedonian | Language.Macedonian |
Magahi | Language.Magahi |
Maithili | Language.Maithili |
Makassar | Language.Makassar |
Makua | Language.Makua |
Malagasy | Language.Malagasy |
Malay | Language.Malay |
Malvi | Language.Malvi |
Marathi | Language.Marathi |
Marwari | Language.Marwari |
Meru | Language.Meru |
Mewari | Language.Mewari |
Mewati | Language.Mewati |
Min Bei | Language.Min_Bei |
Min Dong | Language.Min_Dong |
Min Nan | Language.Min_Nan |
Minangkabau | Language.Minangkabau |
Muong | Language.Muong |
Musi | Language.Musi |
Nandi | Language.Nandi |
Ndebele | Language.Ndebele |
Nepali | Language.Nepali |
Netherlands | Language.Netherlands |
Norwegian | Language.Norwegian |
Occitan | Language.Occitan |
Oromo | Language.Oromo |
Palembang | Language.Palembang |
Pangasinan | Language.Pangasinan |
Persian | Language.Persian |
Polish | Language.Polish |
Portuguese | Language.Portuguese |
Pu-Xian | Language.Pu_Xian |
Quechua | Language.Quechua |
Rajbanshi | Language.Rajbanshi |
Romanian | Language.Romanian |
Russian | Language.Russian |
Rwanda | Language.Rwanda |
Sasak | Language.Sasak |
Serbian | Language.Serbian |
Serbo-Croatian | Language.Serbo_Croatian |
Serer-Sine | Language.Serer_Sine |
Shona | Language.Shona |
Slovak | Language.Slovak |
Slovene | Language.Slovene |
Somali | Language.Somali |
Sotho (Northern) | Language.Sotho_Northern |
Sotho (Southern) | Language.Sotho_Southern |
Spanish | Language.Spanish |
Sukuma | Language.Sukuma |
Sundanese | Language.Sundanese |
Swahili | Language.Swahili |
Swati | Language.Swati |
Swedish | Language.Swedish |
Tagalog | Language.Tagalog |
Thai | Language.Thai |
Tibetan | Language.Tibetan |
Tonga | Language.Tonga |
Tsonga | Language.Tsonga |
Tswana | Language.Tswana |
Tumbuka | Language.Tumbuka |
Turkish | Language.Turkish |
Turkmen | Language.Turkmen |
Ukrainan | Language.Ukrainan |
Umbundu | Language.Umbundu |
Urdu | Language.Urdu |
Uzbek | Language.Uzbek |
Vietnamese | Language.Vietnamese |
Wagdi | Language.Wagdi |
Waray-Waray | Language.Waray_Waray |
Wolaytta | Language.Wolaytta |
Wu | Language.Wu |
Xhosa | Language.Xhosa |
Xiang | Language.Xiang |
Yao | Language.Yao |
Yoruba | Language.Yoruba |
Zhuang | Language.Zhuang |
Zulu | Language.Zulu |
Removed public APIs:
No changes.
Examples
The examples below illustrate the changes introduced in version 24.8.0:
Recognize Turkish image
using Aspose.OCR.Cloud.SDK.Api;
using Aspose.OCR.Cloud.SDK.Model;
using System.Text;
namespace Example
{
internal class Program
{
static void Main(string[] args)
{
/** Authorize your requests to Aspose.OCR Cloud API */
RecognizeImageApi recognizeImageApi = new RecognizeImageApi("<Client Id>", "<Client Secret>");
/** Read source image to array of bytes */
byte[] image = File.ReadAllBytes("source.png");
/** Specify recognition language */
OCRSettingsRecognizeImage recognitionSettings = new OCRSettingsRecognizeImage {
Language = Language.Turkish,
ResultType = ResultType.Text
};
/** Send image for recognition */
OCRRecognizeImageBody source = new OCRRecognizeImageBody(image, recognitionSettings);
string taskID = recognizeImageApi.PostRecognizeImage(source);
/** Fetch recognition result */
OCRResponse result = recognizeImageApi.GetRecognizeImage(taskID);
Console.WriteLine(Encoding.UTF8.GetString(result.Results[0].Data));
}
}
}
Other Aspose.OCR Cloud SDKs
- Aspose.OCR Cloud for Java
Call Aspose.OCR Cloud API from cross-platform Java apps. - Aspose.OCR Cloud for Python
Natively integrate OCR features into Python applications. - Aspose.OCR Cloud for Node.js
Add OCR functionality to AWS Lambda, Azure Functions, services, and applications written in Node.js by querying our REST API. - Aspose.OCR Cloud for Android
Turn a smartphone into a full featured OCR scanner. Aspose.OCR service runs in the cloud and supports even entry-level and legacy smartphones.
Resources
Find more information on Aspose.OCR Cloud and get professional help:
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- JsonSubTypes (>= 2.0.0)
- Newtonsoft.Json (>= 13.0.3)
- Polly (>= 7.2.3)
- RestSharp (>= 108.0.3)
- System.ComponentModel.Annotations (>= 5.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
24.8.0 | 134 | 8/13/2024 | |
24.6.0 | 145 | 6/13/2024 | |
23.12.0 | 502 | 12/21/2023 | |
23.11.0 | 426 | 11/24/2023 | |
23.6.0 | 240 | 7/3/2023 | |
23.5.0 | 183 | 5/22/2023 | |
22.12.0 | 564 | 12/15/2022 | |
22.5.1 | 4,006 | 5/17/2022 | |
22.5.0 | 472 | 5/17/2022 | |
21.12.2 | 368 | 12/28/2021 | |
21.12.1 | 2,932 | 12/14/2021 | |
21.12.0 | 345 | 12/7/2021 | |
21.9.0 | 2,391 | 9/1/2021 | |
21.8.0 | 775 | 8/10/2021 | |
21.6.0 | 1,906 | 6/25/2021 | |
21.5.0 | 847 | 5/7/2021 | |
21.4.0 | 494 | 4/11/2021 | |
21.3.1 | 605 | 3/16/2021 | |
20.3.0 | 681 | 4/14/2020 | |
1.0.4 | 1,177 | 8/14/2017 | |
1.0.3 | 1,045 | 1/6/2017 | |
1.0.2 | 1,036 | 11/2/2016 | |
1.0.1 | 1,010 | 10/20/2016 | |
1.0.0 | 1,595 | 2/26/2016 |