Azzera filtri
Azzera filtri

Can I read a image?

1 visualizzazione (ultimi 30 giorni)
Moon Datta
Moon Datta il 11 Gen 2018
Risposto: Image Analyst il 11 Gen 2018
I have a number of tables for different states containing some statistical data like population etc. in table 1, population = 2 lakh; table 2, population = 3 lakh; table 3, population = 4 lakh; table 4, population = 1 lakh; and so on. but all the tables are in png format. is it possible to make a matlab script to read all the tables and making an array with the data of population.There will be a double in work space namely population which will have first column with table no and second column with no of population for the respective table.

Risposte (2)

John D'Errico
John D'Errico il 11 Gen 2018
Modificato: John D'Errico il 11 Gen 2018
No. That is just a picture of some numbers. They are not stored as numbers, but just as pixels, that you happen to understand as numbers. You cannot read it in numeric form.
COULD you do it? Yes, of course. With some effort and skill in image processing and OCR, you could read it in.
Is it worth the effort? I doubt it. You take the risk that some digits will be misread, and since you have no idea how to solve the problem, it will take some significant time for you to learn to solve it. You can probably find that same information elsewhere online in usable form. Spend some time finding it. Or spend the same amount of time (or less!) just keying the information in. Carefully of course.

Image Analyst
Image Analyst il 11 Gen 2018
Just hand type everything in. It would take you less time to type in a table into the MATLAB editor than to write an algorithm that did OCR on a picture of a table.

Categorie

Scopri di più su Data Import and Analysis in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by