Table of Contents

Class DetectionResult

Namespace
IO.Scanbot.Sdk.Core.Contourdetector
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/core/contourdetector/DetectionResult", DoNotGenerateAcw = true)]
public sealed class DetectionResult : Object, IJavaObject, IJavaPeerable, IDisposable
Inheritance
DetectionResult
Implements
Inherited Members

Constructors

DetectionResult(DetectionStatus, IList<Point>, IList<PointF>, double, IList<Line2D>, IList<Line2D>, int)

[Register(".ctor", "(Lio/scanbot/sdk/core/contourdetector/DetectionStatus;Ljava/util/List;Ljava/util/List;DLjava/util/List;Ljava/util/List;I)V", "")]
public DetectionResult(DetectionStatus status, IList<Point> polygon, IList<PointF> polygonF, double detectionScore, IList<Line2D> horizontalLines, IList<Line2D> verticalLines, int averageBrightness)

Parameters

status DetectionStatus
polygon IList<Point>
polygonF IList<PointF>
detectionScore double
horizontalLines IList<Line2D>
verticalLines IList<Line2D>
averageBrightness int

Properties

AverageBrightness

public int AverageBrightness { get; }

Property Value

int

DetectionScore

public double DetectionScore { get; }

Property Value

double

HorizontalLines

public IList<Line2D> HorizontalLines { get; }

Property Value

IList<Line2D>

Polygon

public IList<Point> Polygon { get; }

Property Value

IList<Point>

PolygonF

public IList<PointF> PolygonF { get; }

Property Value

IList<PointF>

Status

public DetectionStatus Status { get; }

Property Value

DetectionStatus

VerticalLines

public IList<Line2D> VerticalLines { get; }

Property Value

IList<Line2D>

Methods

Component1()

[Register("component1", "()Lio/scanbot/sdk/core/contourdetector/DetectionStatus;", "")]
public DetectionStatus Component1()

Returns

DetectionStatus

Component2()

[Register("component2", "()Ljava/util/List;", "")]
public IList<Point> Component2()

Returns

IList<Point>

Component3()

[Register("component3", "()Ljava/util/List;", "")]
public IList<PointF> Component3()

Returns

IList<PointF>

Component4()

[Register("component4", "()D", "")]
public double Component4()

Returns

double

Component5()

[Register("component5", "()Ljava/util/List;", "")]
public IList<Line2D> Component5()

Returns

IList<Line2D>

Component6()

[Register("component6", "()Ljava/util/List;", "")]
public IList<Line2D> Component6()

Returns

IList<Line2D>

Component7()

[Register("component7", "()I", "")]
public int Component7()

Returns

int

Copy(DetectionStatus, IList<Point>, IList<PointF>, double, IList<Line2D>, IList<Line2D>, int)

[Register("copy", "(Lio/scanbot/sdk/core/contourdetector/DetectionStatus;Ljava/util/List;Ljava/util/List;DLjava/util/List;Ljava/util/List;I)Lio/scanbot/sdk/core/contourdetector/DetectionResult;", "")]
public DetectionResult Copy(DetectionStatus status, IList<Point> polygon, IList<PointF> polygonF, double detectionScore, IList<Line2D> horizontalLines, IList<Line2D> verticalLines, int averageBrightness)

Parameters

status DetectionStatus
polygon IList<Point>
polygonF IList<PointF>
detectionScore double
horizontalLines IList<Line2D>
verticalLines IList<Line2D>
averageBrightness int

Returns

DetectionResult