Aspose.Ocr.Cpp 21.7.0

There is a newer version of this package available.
See the version list below for details.
NuGet\Install-Package Aspose.Ocr.Cpp -Version 21.7.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.
dotnet add package Aspose.Ocr.Cpp --version 21.7.0
<PackageReference Include="Aspose.Ocr.Cpp" Version="21.7.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.Ocr.Cpp --version 21.7.0
#r "nuget: Aspose.Ocr.Cpp, 21.7.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.Cpp as a Cake Addin
#addin nuget:?package=Aspose.Ocr.Cpp&version=21.7.0

// Install Aspose.Ocr.Cpp as a Cake Tool
#tool nuget:?package=Aspose.Ocr.Cpp&version=21.7.0

Optical Character Recognition (OCR) C++ API

Version 21.7 Nuget

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

Aspose.OCR for C++ is a standalone OCR API that enhances your C++ apps to perform the OCR operation on JPEG, PNG, & BMP images for extraction of English content.

Image OCR API Features

  • Recognize characters from images.
  • Calculate the skew angle of images.
  • Currently, it supports the English language.
  • Auto-align image and autodetect text areas.
  • Get a single line and recognize it.

Read Image Formats for OCR

Raster Formats: JPEG, BMP ( 32bit and 16bit images are not supported), PNG

Supported Charset for Recognition



Aspose OCR library requires onnxruntime.dll in the system path.

Get Started with Aspose.OCR for C++

Are you ready to give Aspose.OCR for C++ a try? Simply execute Install-Package Aspose.OCR.Cpp from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.OCR for C++ and want to upgrade the version, please execute Update-Package Aspose.OCR.Cpp to get the latest version.

Execute the following code snippet to see how Aspose.OCR API performs with your own samples or please visit the GitHub Repository for other common usage scenarios.

Perform OCR on PNG Image via C++ Code

// For complete examples and data files, please go to
std::string image_path = "../Data/Source/sample.png";
const wchar_t* result = aspose::ocr::recognize_page(image_path.c_str());
std::wcout << result << L'\n';

Evaluation Version Limitation

The evaluation version of Aspose.OCR for C++ limits the number of characters extracted from an image to 300.

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

Product Versions
native native
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Aspose.Ocr.Cpp:

Package Downloads

Aspose.Total for C++ is a complete package of C++ libraries specifically designed to create, manipulate and convert popular file formats from Microsoft Office and PDF without requiring Office or Adobe Automation. C++ API package also includes a specialized library to generate and recognize barcode labels from images with advanced features to customize the barcode generation and recognition process.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
22.8.0 288 8/29/2022
22.7.0 549 7/25/2022
22.6.0 770 6/29/2022
22.5.0 953 5/20/2022
22.4.0 916 4/22/2022
22.3.0 889 3/28/2022
22.1.0 1,414 1/28/2022
21.12.0 1,141 12/29/2021
21.11.0 1,910 11/22/2021
21.10.0 1,893 10/3/2021
21.8.0 2,605 8/9/2021
21.7.0 1,233 7/14/2021
21.5.0 1,513 5/26/2021
21.4.0 1,448 5/4/2021
21.2.0 935 3/1/2021
20.11.0 3,036 11/27/2020
20.10.0 1,590 10/23/2020
20.9.0 1,057 9/30/2020
20.8.0 760 8/28/2020
20.7.1 1,573 7/17/2020
20.6.2 820 6/26/2020
20.6.1 1,133 6/10/2020
20.6.0 522 6/2/2020
20.4.0 1,042 4/15/2020