Extracting text from TIFF image

Contents
[ ]

To extract text from a single-page or a multi-page TIFF image, use page_tiff() method. You can also provide multiple TIFF images (individual pages) separated by semicolons.

This method allows you to customize recognition accuracy, performance, and other settings.

std::string image_path = "source.tiff";
const size_t len = 4096;
wchar_t buffer[len] = { 0 };
RecognitionSettings settings;
settings.language_alphabet = language::ukr;
size_t res_len = aspose::ocr::page_tiff("1.tif;2.tif", buffer, len, set);
std::wcout << buffer;