Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Accumulator array in Hough transform

I want to detect the horizontal and vertical lines in the image of a solar panel and straighten them so that the panel is no longer tilted.For accomplishing this i'm using Hough transform,for this I need to know the values of the accumulator array.The command cv2.HoughLines gives an array of rho, theta values but not the votes obtained . How do I obtain the accumulator array?

Image

Accumulator array in Hough transform

I want to detect the horizontal and vertical lines in the image of a solar panel and straighten them so that the panel is no longer tilted.For accomplishing this i'm using Hough transform,for this I need to know the values of the accumulator array.The command cv2.HoughLines gives an array of rho, theta values but not the votes obtained . How do I obtain the accumulator array?

Image