# How to get values of accumulator from standard Hough transform?

The manual tells that it is possible (although without details).

"lines: Output vector of lines. Each line is represented by a 2 or 3 element vector (rho,theta) or (rho,theta,votes) . rho is the distance from the coordinate origin (0,0) (top-left corner of the image). theta is the line rotation angle in radians. votes is the value of accumulator. "

I tried:

vector Vec3f lines

but the program throws an exception.

opencv version ? (it's a quite recent feature, you might not have it, simply)

In what version does it definitely work?

3.4.2 or above (look at the docs again, there is a version box at the top)

OK. Thanks