Table of contents
Swift
Objective-C

LineSegment

Stores line segment data.

class com.dynamsoft.dbr.LineSegment;
Attribute Type Descriptions
startPoint Point The start point of the line segment.
endPoint Point The end point of the line segment.
linesConfidenceCoefficients byte[] The confidence coefficients for lines.

startPoint

The start point of the line segment.

Point[] startPoint

endPoint

The end point of the line segment.

Point[] endPoint

linesConfidenceCoefficients

The confidence coefficients for lines. There are 4 coefficients in this set:

  1. linesConfidenceCoefficients[0] is average positive amplitude;
  2. linesConfidenceCoefficients[1] is max positive amplitude;
  3. linesConfidenceCoefficients[2] is average negative amplitude;
  4. linesConfidenceCoefficients[3] is max negative amplitude.
byte[] linesConfidenceCoefficients

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: