Wolfram imagelines equivalent

Does anybody know if there is an equivalent for ImageLines—Wolfram Language Documentation in opencv?

that’s called a “Hough transform”, for lines.



Thanks for the reply
Sort of the same. The Wolfram version extends the line through the start and end of the axis it is on.
What I am trying to achieve is replicating this Pokémon card detector – Wolfram Language Reviews to detect the card via opencv.

There the Hough’s transform extends beyond the card to be able to detect corners.

well you’ll have to calculate those points.

OpenCV gives you a (ρ,θ) tuple for each line, which precisely and uniquely describes the line.

use HoughLines.

HoughLinesP gives line segments. you apparently don’t want that.

Thanks for the info.
I have figured it out