Table of contents

LineSegmentsUnit

The LineSegmentsUnit interface extends the IntermediateResultUnit interface and represents a unit of intermediate result specifically for line segments.

interface LineSegmentsUnit extends IntermediateResultUnit {
    lineSegments: Array<LineSegment>;
}

lineSegments

An array of LineSegment objects, each representing a segment of a line detected within the image.

Is this page helpful?

YesYes NoNo

In this article: