I am new in opencv and doing a task in which I have to detect the charts/graph(Line,bar,histogram,etc) from a pdf. So for this I am using hough Line transform to get the perpend