Skip to contents

Plots the detected line segments from the output of image_line_segment(). Each segment is drawn as a red line on the existing plot.

Usage

plot_line_segment(x, col = "red", lwd = 1)

Arguments

x

A list returned by image_line_segment(), containing detected line segments.

col

The color of lines

lwd

The width of lines. Defaults to 1

Value

No return value. The function adds line segments to an existing plot.

Examples