I need to extract all relevant data from a simple pie char image which data changes from time to time.
There's an example of the simple pie chart:

How can I define a Python function to get something like:
Код: Выделить всё
green=26Код: Выделить всё
grey=15Код: Выделить всё
red=4Thanks in advance for your support.
I dont have a clue how to do this.
Источник: https://stackoverflow.com/questions/781 ... hart-image