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.

class LineSegment

Attributes

Attribute Type
start_point class Point
end_point class Point
lines_confidence_coefficients list[int]

start_point

The start point of the line segment.

LineSegment.start_point

end_point

The end point of the line segment.

LineSegment.end_point

lines_confidence_coefficients

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

  1. lines_confidence_coefficients[0] is average positive amplitude;
  2. lines_confidence_coefficients[1] is max positive amplitude;
  3. lines_confidence_coefficients[2] is average negative amplitude;
  4. lines_confidence_coefficients[3] is max negative amplitude.
LineSegment.lines_confidence_coefficients

This page is compatible for:

Is this page helpful?

YesYes NoNo