Hough Line Detection

Function: Hough Line Detection

Input Parameters:

Name Type Valid Range Default Value Meaning

Input image

MonoImage

None

None

Grayscale image

Output Parameters:

Name Type Valid Range Default Value Meaning

Detection results

DetectInstance

None

{}

Returns bounding boxes, categories, scores and polygon.

Parameter Settings:

Name Type Valid Range Default Value Meaning

Testing method

String

['HoughLinesP', 'HoughLines']

HoughLines

Detection method.

Threshold

Integer

[1, 1000]

500

The threshold parameter of the accumulated count. When the value of the accumulated count of a certain intersection in the parameter space exceeds the threshold, it is considered that the intersection corresponds to a straight line in the image space.

Min angle

Float

[0.0, 360.0]

0

Min angle.

Max angle

Float

[0.0, 360.0]

180

Max angle.

Minimum linear length

Float

[0.0, 1000.0]

180

Minimum linear length.

Maximum linear clearance

Float

[0.0, 1000.0]

180

Maximum linear clearance.

Line width

Integer

[1, 200]

1

Line width.