Finding slices of a template and randomly generated spots of static image

I need to find how full a textured progress bar is 25%, 50%, 75%, etc. i have the completely full bar’s image as a template and with some effort I can get the empty bar (I would get it on the fly by cropping the image in the game’s asset folder).

(the bars are the health and water meters)

I would also like to check for the “seeds” and “pollen” state but the seed and pollen texture is not found in the game’s asset folder and i want to avoid cropped screenshots if possible. the seeds can have nothing, NA, 0 with no seed, or a number with a randomly generated seed behind it. the pollen can be nothing, NA, or the pollen animated texture.

answers to either question is apreciated!