Aspose. OCR Cloud is a simple ocr technology, which you can use in your application to convert image to text. Add OCR to your app with simply few line of code. Any language, any platform, no hardware resources. Automatic skew correction and advanced automative image pre-processing: Aspose.OCR Cloud can successfully read poor quality scans and automatically make image pre-processing to correct low resolution, low contrast, noise and skew, image upscale resolution. 45 languages supported including Chinese. Automated and manual document layout detection: Recognize documents with complex layouts in fully automatic mode or with manual corrections. In automated mode, you don’t need to worry about text layout editing. Our DSR algorithm provides such functionality. It allows performing the OCR operation quickly on various document scans. Receipt recognition. Text region detection method Table image recognition. PDF recognition. Multipage supported. Text correction using spell checkong algorithms. Various Output formats: Text, Searchable PDF, hOCR. Supported image formats: We support all widely used image formats: bmp jpeg jpg jpe jp2 png webp tiff tif exr hdr pic svg Recognize Text of Different Languages: Supports 45 languages including: English, German, French, Italian, Spanish, Portuguese, Polish, Slovene, Slovak, Netherlands, Lithuanian, Latvian, Danish, Norwegian, Finnish, Serbian, Croatian, Czech, Swedish, Estonian, Romanian, Chinese, Arabic, Hindi, Russian, Ukrainian, Bengali, Tibetan, Thai, Urdu, Turkish, Korean, Indonesian, Hebrew, Javanese, Greek, Japanese, Persian, Albanian, Latin, Vietnamese, Uzbek, Georgian, Bulgarian, Azerbaijani Recognize english handwritten text. High speed with no hardware resources: Don’t worry about hardware, all the computational operations are performed at our powerful servers, that hosts our core, built on cutting edge fast neural networks.


Keywords
.NET, AI, API, Aspose.OCR, Aspose.OCR-Cloud, Aspose.Total-Cloud, BMP, C#, CSharp, Cloud, Detection, Deutsch-OCR, EXR, English-OCR, Extract-Image-Text, Extract-Localized-Text, Extract-Text, French-OCR, GIF, German-OCR, HDR, HOCR, JPEG, JSON, Multi-Langual-OCR, Multilingual, OCR, PBM, PDF, PFM, PGM, PIC, PNG, PNM, PPM, PXM, RAS, REST, Receipt, SR, TIF, TIFF, Text, WEBP, XML, character, character-recognition, document, dotnet, engine, handwriting, learning, localization, localized-ocr, machine, machine-learning, multi-platform, optical, optical-character-recognition, recognition, recognize, scan, scanned, scanner, searchable, text-extraction
License
MIT
Install
Install-Package Aspose.OCR-Cloud -Version 23.12.0

Documentation

Aspose.OCR Cloud .NET SDK 23.12.0

License Nuget

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
Scan Image 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:

  1. Go to https://dashboard.aspose.cloud/
  2. 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.
  3. 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:

  1. Sign in to Aspose Cloud API Dashboard.

  2. Go to Applications page.

  3. Click Create New Application button.

  4. Give the application an easily recognizable name so it can be quickly found in a long list, and provide an optional detailed description.

  5. 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
  6. Click Save button.

  7. Click the newly created application and copy the values from Client Id and Client Secret fields.

  8. Pass in the values from the Client ID and Client Secret fields when initializing the required OCR API.

Running demo

  1. Check out the SDK or install it from NuGet.
  2. Open Examples demo solution.
  3. Provide your Client ID and Client Secret (see Authorization above).
  4. Run the project.

What was changed in version 23.12.0

A summary of recent changes, enhancements and bug fixes in Aspose.OCR Cloud SDK for .NET 23.12.0 release:

Key Summary Category
OCR‑3737 Added a free API for evaluating image recognition without authorization.
Some restrictions apply. See below for details.
New feature

Public API changes and backwards compatibility

This section lists all public API changes introduced in Aspose.OCR Cloud SDK for .NET 23.12.0 that may affect the code of existing applications.

Added public APIs:

The following public APIs have been introduced in this release:

Image recognition evaluation

The following new classes have been added:

Class Description
RecognizeImageTrialApi Image recognition API that works without authorization.

Important: In recognition results, 10% of the words are substituted with asterisks (*). The sequence of masked words remains unchanged upon re-submitting the identical image for recognition.

Learn more...

Updated public APIs:

No changes

Removed public APIs:

No changes.

Examples

The examples below illustrate the changes introduced in version 23.12.0:

Recognize image in free (evaluation) mode

using Aspose.OCR.Cloud.SDK.Api;
using Aspose.OCR.Cloud.SDK.Model;
using System.Text;

namespace ExampleDotNet60v50.APIExamples
{
    public static class RecognizeImageTrialExample
    {
        public static void Run()
        {
            try
            {
                string imageFileName = "samples/lorem_ipsum.png";
                Console.WriteLine($"Sending sample file({imageFileName}) to RecognizeImageTrialApi...\n");

                RecognizeImageTrialApi api = new RecognizeImageTrialApi();

                byte[] imageData = File.ReadAllBytes(imageFileName);

                var settings = new OCRSettingsRecognizeImage(
                        language: Language.English,
                        resultType: ResultType.Text,
                        dsrMode: DsrMode.NoDsrNoFilter,
                        makeContrastCorrection: false);

                var taskId = api.PostRecognizeImageTrial(new OCRRecognizeImageBody(
                    image: imageData,
                    settings: settings));
                Console.WriteLine($"File successfully sent. Your task ID is {taskId}");

                Console.WriteLine($"Requesting results for task {taskId} ...");
                OCRResponse result = api.GetRecognizeImageTrial(taskId);
                Console.WriteLine($"Response received with status {result.TaskStatus.Value} \n\n Your results:\n\n");

                result.Results.ForEach(res => Console.WriteLine(Encoding.UTF8.GetString(res.Data)));
                Console.WriteLine("\nPress any key to continue");
                Console.ReadKey();
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.ToString());
                Console.WriteLine("\nPress any key to continue");
                Console.ReadKey();
            }
        }
    }
}

Other Aspose.OCR Cloud SDKs

Resources

Find more information on Aspose.OCR Cloud and get professional help: