Table of contents
Swift
Objective-C

This documentation is deprecated. It applies only to legacy version 9.x of Barcode Reader and must not be used for new development.

Please refer to the latest documentation and Migration Guide, which supersede this content.

LineSegment

Stores line segment data.

public class LineSegment

Attributes

Attribute Type
StartPoint Point
EndPoint Point
LinesConfidenceCoefficients byte[ ]

StartPoint

The start point of the line segment.

Point Dynamsoft.DBR.LineSegment.StartPoint

EndPoint

The end point of the line segment.

Point Dynamsoft.DBR.LineSegment.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[] Dynamsoft.DBR.LineSegment.LinesConfidenceCoefficients

This page is compatible for:

Is this page helpful?

YesYes NoNo