I have an image in which there is a a white box. moving from top to bottom(height) I want to get the coordinates of first horizontal line and bottom horizontal line of the box using sudden change in pixel values
How do achieve this?