automeris-io / WebPlotDigitizer

Computer vision assisted tool to extract numerical data from plot images.
https://automeris.io
GNU Affero General Public License v3.0
2.66k stars 364 forks source link

Requesting for new feature #288

Open RollaHamza opened 2 years ago

RollaHamza commented 2 years ago

map Greeting, I wonder if it possible to extract data from map figure

nbehrnd commented 2 years ago

You do not clarify what kind of data you want to extract. Since it is a map with discrete color levels (as antonym to continuous), perhaps you are interested to count the countries associated to gray vs. countries associated with different tints of blue. In terms of resolution, you might run into troubles: Apparently (e.g., Egypt, Libya, Chad, Sudan) share one level of a property and still are discernible as individual countries by a gray line marking their frontiers. Possibly, this line might be too thick to allow the recognition of countries of smaller surface (e.g., Slovenia, Croatia, Kuwait, Singapore, Maldives to mention a few).

In case you were interested in the area; an implementation of a planimetry-like approach has been suggested earlier (here and here). At present, I speculate this is a task perhaps better resolved with ImageMagick (note there is a dedicated tag for questions about this program e.g., on stackoverflow). However -- a big however -- one would need to correct for the distortion the map introduces when displaying a 3D object in 2D.

RollaHamza commented 2 years ago

I want to know for example which countries is shaded in certain color another example is below 1Capture i want to know the name of countries that is in red color

nbehrnd commented 2 years ago

Multiple options are available but (likely) neither one is in the scope of the digitizer's design.