I have financial chart like this
I can mask by color
to get green and red squares.
I want get two data
First i want to get two last squares(two in the very right side colors)
Than i want to get height of them and height of they shadows(very thin line on top or bottom of square)
Is it possible with opencv?