How to extract numerical data from plot images automatically?

how can we automatically extract numerical data from plot images in MMA (.dat or .csv file)?

For the test image (two curves in one image), x=[0 40]; y=[0 1]

if we use e.g. "getdata-graph-digitizer"

we have to grab points by clicking on points. it take some times ...

Can we extract these data automatically ("AI") in MMA?

P.S. @Alexei Boulbitch I have used your MMA app (How to make a curve selectable from a scaned image and convert it to a list of coordinates), it does not support this kind of image.

Thanks a lot in advance!

• Please tell use why Export/Import to the appropriate image format doesn't work. – bobthechemist Oct 30 '19 at 22:59
• @bobthechemist please see the new figure (the second one) in this post! or you try it by yourself! – ABCDEMMM Oct 30 '19 at 23:01
• @bobthechemist Control[{{size, 4500} also not works ....... – ABCDEMMM Oct 30 '19 at 23:06
• @ABCDEMMM If you make a screen shot of your image (for example using a Snipping Tool of Windows), then write im=Image[ ] and paste your screened image between the square brackets, and then apply 'copyCurve[im]', the method I posted works and you can use it. In your example most probably copyCurve did not work because the Head of the object you inserted into the function copyCurve was not Image. – Alexei Boulbitch Oct 31 '19 at 12:31
• The curves are not active automatically. You need to do something to copy them. What to do, is written in detail in the post that you have cited above. Have a look there. After you have done that, evaluate the following: Export[NotebookDirectory[]<>"myList.csv", listOfPoints]. As the result you wil get the Excel file "myList.csv" saved in the directory you are working in. Before you make this operation, do not forget to save the notebook you are working with in some directory. Otherwise the statement NotebookDirectory[ ] will not work. – Alexei Boulbitch Nov 3 '19 at 13:25