Aspose.OCR-Cloud 22.12.0

There is a newer version of this package available.
See the version list below for details.
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 and Polyglot Notebooks. 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 Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
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
23.12.0 289 12/21/2023
23.11.0 269 11/24/2023
23.6.0 206 7/3/2023
23.5.0 159 5/22/2023
22.12.0 512 12/15/2022
22.5.1 3,869 5/17/2022
22.5.0 443 5/17/2022
21.12.2 340 12/28/2021
21.12.1 2,910 12/14/2021
21.12.0 319 12/7/2021
21.9.0 2,367 9/1/2021
21.8.0 743 8/10/2021
21.6.0 1,779 6/25/2021
21.5.0 817 5/7/2021
21.4.0 462 4/11/2021
21.3.1 574 3/16/2021
20.3.0 650 4/14/2020
1.0.4 1,150 8/14/2017
1.0.3 1,017 1/6/2017
1.0.2 1,003 11/2/2016
1.0.1 982 10/20/2016
1.0.0 1,567 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.