Extract Graph data via OCR

Hi there,

I’m trying to extract data from PNG file with graph values. However, below was the output received for the attached PNG file. The values in the graph are missing. Can you please provide me the code sample to extract those details?

EXPANSION OF FUEL-SAVING TECHNOLOGIES IN CONVENTIONAL VEHICLES
Stop-Start Technology* Downsized-Turbo Engines* Advanced Transmissions’

GM_1.PNG (16.9 KB)

Thank you,

@sanjaybk

A task as OCRNET-574 has been logged in our issue tracking system to further investigate this case. We will look into its details and let you know as soon as the ticket is resolved. Please be patient and spare us some time.

We are sorry for the inconvenience.

PS: Would you please also share the code snippet that you used to extract the text? It would help us in investigating accordingly.

Below is the code snipped used.

// Initialize OCR engine
var recognitionEngine = new Aspose.OCR.AsposeOcr();
// Extract text from image
string result = recognitionEngine.RecognizeImage(“GM_1.PNG”);
// Display the recognition result
Console.WriteLine(result);

@sanjaybk

Thanks for sharing the sample code snippet. We will let you know once we have some updates regarding ticket resolution.

@sanjaybk

Please try to use

RecognitionResult result = api.RecognizeImage(“GM_1.PNG”, new RecognitionSettings
Console.WriteLine(result.RecognitionText);

We have got the next result

EXPANSION OF FUEL-SAVING TECHNOLOGIES IN CONVENTIONAL VEHICLES
[Percent of Total U.S. Volume)


-

Stop-Start Technology"
Downsized-Turbo Engines*
Advanced Transmissions*
72%
84%
43%
70%
55%
38%
58%
36%
35%
47%
43%
32%
23%
20%
24%


2016
2017
2018
2019
2020
2016
2017
2018
2019
2020
2016
2017
2018
2019
2020