check this picture out before I explain further:How can I count the amount of lines there are from the yellow line to line #5? OCR sounds like overkill, because I don't really care what the text says.
Counting lines of text and get color of a specific line in an image
.net;image manipulation;image processing