I am new to opencv and trying out segmenting operations. I have this processed image as follows -->

I want to slice the image into separate blocks only if the line covers about 70% of the total width as shown in below image -->

I tried HoughLine Transform as given in this [link](http://opencvexamples.blogspot.com/2013/10/line-detection-by-hough-line-transform.html) but the results were completely wrong and not even close.
Please explain how to solve this problem with code.
↧