How to access houghlines accumulations with OpenCV 4.5.1 & Python?

Hi all,

I need houghlines accumulations to further calculate confidences of my results. I found that cv2.houghLines accepts a vector as input to access the votes, but I don’t know how to construct such a vector in Python (with OpenCV 4.5.1). Could you please help me to construct it?

Thanks in advance.

1 Like

Something is weird in python binding. There is already an issue

Work in progress

It’s finished :slight_smile:

1 Like

Thanks for your great effort!

how does it return/accept an accumulator array?

result is a n x 1 x 3 array