Skip to content

aspose-ocr/Aspose.OCR-for-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nuget Nuget

Optical Character Recognition (OCR) C++ API

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

Directory Description
Aspose.OCR-for-C A collection of C++ examples that help you learn and explore the API features.
Data Sample files used in the Examples.

Image OCR API Features

  • Recognize characters from images.
  • Calculate the skew angle of images.
  • Calculate the bounding boxes of lines or paragraphs.
  • Currently, it supports 20 European languages and Chinese.
  • Auto-align image and autodetect text areas.
  • Get a single line and recognize it.
  • Get possible choices for each recognized character.
  • Pass URI and recognize the image from it.
  • Recognize multiple images in a folder, zip archive or from the list.
  • Get result in JSON format.
  • Save results in text, DOCX or PDF formats.
  • Image preprocessing.

Read Image Formats for OCR

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

Supported Charset for Recognition

EN

Pre-requisites

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.

Perform OCR on PNG Image

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.

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages