Aspose.OCR-Cloud 22.12.0

.NET 6.0
dotnet add package Aspose.OCR-Cloud --version 22.12.0
NuGet\Install-Package Aspose.OCR-Cloud -Version 22.12.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Aspose.OCR-Cloud" Version="22.12.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.OCR-Cloud --version 22.12.0
#r "nuget: Aspose.OCR-Cloud, 22.12.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aspose.OCR-Cloud as a Cake Addin
#addin nuget:?package=Aspose.OCR-Cloud&version=22.12.0

// Install Aspose.OCR-Cloud as a Cake Tool
#tool nuget:?package=Aspose.OCR-Cloud&version=22.12.0

.NET Cloud REST API for OCR

Version 22.12.0 NugetGitHub

banner

Product Page | Docs | Demos | Swagger UI | Examples | Blog | Search | Free Support | Free Trial

This cloud SDK helps you perform optical character recognition (OCR) on various image formats using C#, ASP.NET, or other .NET supported languages, in the cloud.

OCR Processing Features

  • Recognize and extract text from images via OCR.
  • Specify the area of the image from which you want to extract text.
  • Perform OCR to recognize text from the whole or partial image.
  • Fetch character and font information from raster images.
  • Return the response in the JSON or XML format.
  • Supports English text recognition.

Read OCR Formats

JPEG, PNG, GIF, BMP, TIFF

Get Started

You do not need to install anything to get started with Aspose.OCR Cloud SDK for .NET. Just create an account at Aspose for Cloud and get your application information.

Simply execute Install-Package Aspose.OCR-Cloud from the Package Manager Console in Visual Studio to fetch & reference Aspose.OCR assembly in your project. If you already have Aspose.OCR Cloud SDK for .NET and want to upgrade it, please execute Update-Package Aspose.OCR-Cloud to get the latest version.

Please check the GitHub Repository for common usage scenarios.

Extract text from PNG using C# Code

// For complete examples and data files, please go to https://github.com/aspose-ocr-cloud/aspose-ocr-cloud-dotnet/

string imageFileName = "samples/lorem_ipsum.png";
string clientId = ""
string clientSecret = ""

RecognizeImageApi recognizeImageApi = new RecognizeImageApi(clientId, clientSecret);

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

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

var taskId = recognizeImageApi.PostRecognizeImage(new OCRRecognizeImageBody(
    image: imageData,
    settings: settings));

var result = recognizeImageApi.GetRecognizeImage(taskId);

result.Results.ForEach(res => Console.WriteLine(Encoding.UTF8.GetString(res.Data)));

Product Page | Docs | Demos | Swagger UI | Examples | Blog | Search | Free Support | Free Trial

Product Versions
.NET net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

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
22.12.0 109 12/15/2022
22.5.1 2,084 5/17/2022
22.5.0 263 5/17/2022
21.12.2 244 12/28/2021
21.12.1 2,809 12/14/2021
21.12.0 231 12/7/2021
21.9.0 1,809 9/1/2021
21.8.0 646 8/10/2021
21.6.0 1,030 6/25/2021
21.5.0 729 5/7/2021
21.4.0 379 4/11/2021
21.3.1 444 3/16/2021
20.3.0 525 4/14/2020
1.0.4 1,030 8/14/2017
1.0.3 910 1/6/2017
1.0.2 875 11/2/2016
1.0.1 855 10/20/2016
1.0.0 1,450 2/26/2016

What was changed

This is the major release of Aspose.OCR Cloud which delivers significant new features, enhancements to existing features, performance improvements, and fixes. The list below contains the most important features that are supported in this release:

Image to speech conversion
Convert almost any picture or photo with readable characters into a natural human voice that can be played in the background or downloaded.
Advanced image binarization
A specialized neural network for converting images to black and white for better text recognition.
Automatic skew correction
Detect image skew angle and automatically correct the tilt.
Dewrapping
Detect perspective distortions and automatically straighten the image.
Upscaling
Intelligently enhance image resolution without losing the content and quality.

Public API changes and backwards compatibility

BACKWARD INCOMPATIBILITY!

This release is based on a completely new architecture (version 5.0) that is not backward compatible with previous (version 3.0) principles and workflows.

To maintain compatibility, please continue to use the previous version of the Aspose.OCR Cloud API.
Added public APIs:

See Aspose OCR Cloud 5.0 API Reference for the full list of new endpoints and request parameters.
Updated public APIs:

This is the first release based on the new (version 5.0) architecture. When updates, renames and improvements are introduced, they will be described in future Release Notes. Keep for updates.
Removed public APIs:

This is the first release based on the new (version 5.0) architecture. When some of the methods become deprecated, this will be announced in future Release Notes.