I have several thousand bar graphs to convert that follow the following format:
I need to convert these to actual data + date. My plan has been to use something, perhaps ImageMagick, to extract the date, pass it through OCR and then slice up the bars in some fashion so as to get the value. The Y axis is in 4 hour increments (so each tick or graph represents 4 hours of a day). These red bars below do change colors at certain thresholds, so it is more of a white vs nonwhite for detection of the bars.
Example output desired:
1996-11-27 000000 UTC, 3.0
1996-11-27 040000 UTC, 3.0
1996-11-27 080000 UTC, 2.0
1996-11-27 0120000 UTC, 2.0
1996-11-27 0160000 UTC, 1.0
What might a solution for extracting these bars and assigning values based on height?