If you are an elite you can read about this in the hort threat in special projects e.
If not, I can really use some help in how to do this...see the attached images.
Main plant gump window size 263x231
Seed/Resource gump window size 255x231
This is the image of the plant gump.
Now a couple icons are missing from my gump because I take some things out of the world and it just so happens these images also share with this gump. But it wont make a difference either way.
You will notice there is a yellow + that indicates you need to add 1 dose of cure, if it needed 2 doeses it would be a red +. This will go on the left side for all the potions needed, yellow for 1 red for 2 nothing if there is nothing to be added.
For water it will be right next to the water pic, again yellow or red or nothing.
While this character will always be a plus....seeds will not. it will be a 0-8/8 Example if three seeds are available it would be 3/8 and if those three are taken it will change to 0/5 and everytime it bears a seed the second number will lower. These colors of the numbers will change, but that is of no matter, we will be collecting all seeds no matter the color.
If there is another way to do this besides ocr, I would love to know. also if you see the number in the upper left hand corner. That is how many days the plant has grown. If it is over say 16 days and you have harvested all the seeds and resources, it would be good to set it to deco mode.
So we need a way to find out if there are no more seeds and resources that will ever come from the plant. If both seeds and resources get to 0/0 time to set the plant to deco and move it to secure.
What we need to determine in the case of just tending plants and not collecting resources at all.
1. if there is a "+" by any of the potion locations
2. if there is a "+" what color is it? Yellow or Red?
3. If there is a "+" on the left we need to determine if there is a 0, 1, or 2 on the right side. (this lets us know how many if any potions we need to pour)
4. If it is a yellow "+" and there is a "0" on the right, we need to pour 1 of that potion type.
5. If there is a red "+" and there is a "0" on the right we need to pour 2 potions of that type.
6. If there is a yellow "+" and a 1 on the right, we dont need to pour any potions.
7. If there is a red "+" and a 1 on the right, we need to pour 1 potion of that type.
8. if there is a red "+" and a 2 on the right we dont need to pour any potions.
That is it in a nutshell for tending. For gathering, we need to determine...
1. If there are resources available seeds or petals, thorns ect.
2. This will be in the middle on the right where the purple number are for seeds.
3. This will be in the middle on the left where they yellow "-" is. If resources are available, it will be numbered just like the seeds.
So we have two numbers to determine for either....
1. if a number exists (some plants wont produce a seed or resource, white and black)
2. if a number exists, we need to determine the first and second number.
3. if the first number is anything other than a "0" it has resources, seeds or petals ect.
4. if the second number is a "0" it is done giving resources or seeds.
5. if the plant is done giving resources AND seeds AND the plant is 9 days old (number in the upper left hand corner of the gump), we can set it to retire and move to secure to clip it up for dyes.
This is why I think we need OCR, but if there is another way, please by all means let me know.