Detect only thicker horizontal lines in opencv

Is there any algorithm in opencv to detect only thicker horizontal lines which are thicker than a given threshold in opencv. The thickness of the detected lines should exceed that given value. Normally in houghLines function there is no parameter to give a threshold thickness. [anyway my purpose is to detect all the background lines (white spaces exceeding certain height and width) in a document article and get the average thickness of those detected lines. If more clarified my ultimate purpose is to calculate the average distance between text lines in a document]

Source: c++

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.