I actually like the OP's idea, though it's not pressing to be implemented. There are occasions when I can't distinguish a pixel of green or yellow and find the opponent left on 1-3 health. It will just be a numeric value of the yellow part of the bar, no need to detect shields or momentums.