Table of Contents

Class DocumentDetectionResult

Namespace
IO.Scanbot.Sdk.Document
Assembly
DocumentSDK.NET.Droid.dll
public sealed class DocumentDetectionResult : Object, IParcelable, IJavaObject, IDisposable, IJavaPeerable
Inheritance
DocumentDetectionResult
Implements

Constructors

DocumentDetectionResult(DocumentDetectionStatus, DocumentDetectionScores, IList<Point>, IList<LineSegmentInt>, IList<LineSegmentInt>, IList<PointF>, IList<LineSegmentFloat>, IList<LineSegmentFloat>, double, int)

public DocumentDetectionResult(DocumentDetectionStatus status, DocumentDetectionScores detectionScores, IList<Point> points, IList<LineSegmentInt> horizontalLines, IList<LineSegmentInt> verticalLines, IList<PointF> pointsNormalized, IList<LineSegmentFloat> horizontalLinesNormalized, IList<LineSegmentFloat> verticalLinesNormalized, double aspectRatio, int averageBrightness)

Parameters

status DocumentDetectionStatus
detectionScores DocumentDetectionScores
points IList<Point>
horizontalLines IList<LineSegmentInt>
verticalLines IList<LineSegmentInt>
pointsNormalized IList<PointF>
horizontalLinesNormalized IList<LineSegmentFloat>
verticalLinesNormalized IList<LineSegmentFloat>
aspectRatio double
averageBrightness int

DocumentDetectionResult(JSONObject)

public DocumentDetectionResult(JSONObject json)

Parameters

json JSONObject

DocumentDetectionResult(IDictionary<string, Object>)

public DocumentDetectionResult(IDictionary<string, Object> source)

Parameters

source IDictionary<string, Object>

Properties

AspectRatio

public double AspectRatio { get; }

Property Value

double

AverageBrightness

public int AverageBrightness { get; }

Property Value

int

Creator

public static IParcelableCreator Creator { get; }

Property Value

IParcelableCreator

DetectionScores

public DocumentDetectionScores DetectionScores { get; }

Property Value

DocumentDetectionScores

HorizontalLines

public IList<LineSegmentInt> HorizontalLines { get; }

Property Value

IList<LineSegmentInt>

HorizontalLinesNormalized

public IList<LineSegmentFloat> HorizontalLinesNormalized { get; }

Property Value

IList<LineSegmentFloat>

Points

public IList<Point> Points { get; }

Property Value

IList<Point>

PointsNormalized

public IList<PointF> PointsNormalized { get; }

Property Value

IList<PointF>

Status

public DocumentDetectionStatus Status { get; }

Property Value

DocumentDetectionStatus

VerticalLines

public IList<LineSegmentInt> VerticalLines { get; }

Property Value

IList<LineSegmentInt>

VerticalLinesNormalized

public IList<LineSegmentFloat> VerticalLinesNormalized { get; }

Property Value

IList<LineSegmentFloat>

Methods

Component1()

public DocumentDetectionStatus Component1()

Returns

DocumentDetectionStatus

Component10()

public int Component10()

Returns

int

Component2()

public DocumentDetectionScores Component2()

Returns

DocumentDetectionScores

Component3()

public IList<Point> Component3()

Returns

IList<Point>

Component4()

public IList<LineSegmentInt> Component4()

Returns

IList<LineSegmentInt>

Component5()

public IList<LineSegmentInt> Component5()

Returns

IList<LineSegmentInt>

Component6()

public IList<PointF> Component6()

Returns

IList<PointF>

Component7()

public IList<LineSegmentFloat> Component7()

Returns

IList<LineSegmentFloat>

Component8()

public IList<LineSegmentFloat> Component8()

Returns

IList<LineSegmentFloat>

Component9()

public double Component9()

Returns

double

Copy(DocumentDetectionStatus, DocumentDetectionScores, IList<Point>, IList<LineSegmentInt>, IList<LineSegmentInt>, IList<PointF>, IList<LineSegmentFloat>, IList<LineSegmentFloat>, double, int)

public DocumentDetectionResult Copy(DocumentDetectionStatus status, DocumentDetectionScores detectionScores, IList<Point> points, IList<LineSegmentInt> horizontalLines, IList<LineSegmentInt> verticalLines, IList<PointF> pointsNormalized, IList<LineSegmentFloat> horizontalLinesNormalized, IList<LineSegmentFloat> verticalLinesNormalized, double aspectRatio, int averageBrightness)

Parameters

status DocumentDetectionStatus
detectionScores DocumentDetectionScores
points IList<Point>
horizontalLines IList<LineSegmentInt>
verticalLines IList<LineSegmentInt>
pointsNormalized IList<PointF>
horizontalLinesNormalized IList<LineSegmentFloat>
verticalLinesNormalized IList<LineSegmentFloat>
aspectRatio double
averageBrightness int

Returns

DocumentDetectionResult

DescribeContents()

public int DescribeContents()

Returns

int

ToJson(ToJsonConfiguration)

public JSONObject ToJson(ToJsonConfiguration config)

Parameters

config ToJsonConfiguration

Returns

JSONObject

WriteToParcel(Parcel, ParcelableWriteFlags)

public void WriteToParcel(Parcel @out, ParcelableWriteFlags flags)

Parameters

out Parcel
flags ParcelableWriteFlags