Aspose.Ocr.Cpp-GPU 23.2.0

dotnet add package Aspose.Ocr.Cpp-GPU --version 23.2.0
NuGet\Install-Package Aspose.Ocr.Cpp-GPU -Version 23.2.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.Cpp-GPU" Version="23.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.Ocr.Cpp-GPU --version 23.2.0
#r "nuget: Aspose.Ocr.Cpp-GPU, 23.2.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.Cpp-GPU as a Cake Addin
#addin nuget:?package=Aspose.Ocr.Cpp-GPU&version=23.2.0

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

C++ API to Perform OCR via GPU

Version 23.2.0 Nuget


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

It is an OCR API that enhances your C++ apps to perform image recognition using GPU and CUDA technology.

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-GPU 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-GPU 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';

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

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.2.0 319 2/8/2023
22.12.0 391 12/2/2022
22.11.0 380 11/21/2022
22.10.0 386 10/18/2022
21.7.0 847 7/14/2021
21.5.0 583 5/26/2021
21.4.0 504 5/4/2021
21.2.0 414 3/1/2021
20.11.0 637 11/27/2020
20.10.0 594 10/23/2020
20.9.0 592 9/30/2020
20.8.0 559 8/28/2020
20.7.0 631 8/3/2020