5
$\begingroup$

I would like to process an image from this Wikipedia page to get the structured data out

electoral map

Like so

<| "New York" -> 28, ... |>

Not sure where to start.

$\endgroup$
4
  • $\begingroup$ You can start with CountryData. guess projection and highlight image for each state, text recognize on what is left. Mask whole country and try to text recognize rest. $\endgroup$
    – Kuba
    Commented Jul 14, 2016 at 18:44
  • 1
    $\begingroup$ This is an interesting question, and Kuba's approach is very promising as well, but if all you need is the data, then you could extract it more easily from a tabular form from e.g. here. Alternatively, an equivalent map from Adam Carr's site have a zoomed in version for New England that may make it easier to extract those states' values. $\endgroup$
    – MarcoB
    Commented Jul 14, 2016 at 21:55
  • 1
    $\begingroup$ @MarcoB the wikipedia page has that data, you just have to scroll a little bit. But, I think your version of the data is far easier to parse. $\endgroup$
    – rcollyer
    Commented Jul 15, 2016 at 2:04
  • $\begingroup$ I have joined two others in voting to close this as too broad. As always if someone has an answer they wish to post please flag the post for moderator attention and let me know. M.R. I hope this can be narrowed somewhat as I find it interesting. $\endgroup$
    – Mr.Wizard
    Commented Jul 15, 2016 at 8:46

0