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. |
- 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.
Raster Formats: JPEG, BMP ( 32bit and 16bit images are not supported), PNG
EN
Aspose OCR library requires onnxruntime.dll
in the system path.
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.
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';
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