Unable to get desired result

hi,
iam using Aspose.OCR for c++. i am trying to read text but not getting desired result, here is my code

aspose::ocr::set_license(“D:\Aspose\Aspose.OCR.CPP\Aspose.OCRforC++.lic”);
std::wcout << aspose::ocr::get_state() << ‘\n’;

// Provide the image for recognition
string file = “D:\DDrive\MYProjectsNew\Sample PDF for OCR\ABC2.png”;
AsposeOCRInput source;
source.url = file.c_str();
vector content = { source };
// Set recognition language
RecognitionSettings settings;
settings.language_alphabet = language::eng;
// Extract text from the image
AsposeOCRRecognitionResult result = asposeocr_recognize(content.data(), content.size(), settings);
// Output the recognized text
size_t size = 0;
wchar_t* buffer = asposeocr_serialize_result(result, size);
wcout << wstring(buffer) << endl;
// Release the resources
asposeocr_free_result(result);

What i am doing wrong, please help

@santosh1978

Would you kindly share your sample image and the obtained results for our reference so that we can test the scenario in our environment and address it accordingly.

@asad.ali
ABC.jpg (130.2 KB)

ABC2.jpg (413.5 KB)
these are few of my testing images.

@santosh1978

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): OCRCPP-611

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.