Table of Contents

Class SBSDKDocumentDetectionResult

Namespace
ScanbotSDK.iOS
Assembly
DocumentSDK.NET.iOS.dll
public class SBSDKDocumentDetectionResult : NSObject, INSCopying, INativeObject, IDisposable
Inheritance
SBSDKDocumentDetectionResult
Implements
INSCopying
INativeObject

Constructors

SBSDKDocumentDetectionResult(NSObjectFlag)

protected SBSDKDocumentDetectionResult(NSObjectFlag t)

Parameters

t NSObjectFlag

SBSDKDocumentDetectionResult(NativeHandle)

protected SBSDKDocumentDetectionResult(NativeHandle handle)

Parameters

handle NativeHandle

SBSDKDocumentDetectionResult(SBSDKDocumentDetectionScores, NSValue[], SBSDKLineSegmentInt[], SBSDKLineSegmentInt[], NSValue[], SBSDKLineSegmentFloat[], SBSDKLineSegmentFloat[], double)

public SBSDKDocumentDetectionResult(SBSDKDocumentDetectionScores detectionScores, NSValue[] points, SBSDKLineSegmentInt[] horizontalLines, SBSDKLineSegmentInt[] verticalLines, NSValue[] pointsNormalized, SBSDKLineSegmentFloat[] horizontalLinesNormalized, SBSDKLineSegmentFloat[] verticalLinesNormalized, double aspectRatio)

Parameters

detectionScores SBSDKDocumentDetectionScores
points NSValue[]
horizontalLines SBSDKLineSegmentInt[]
verticalLines SBSDKLineSegmentInt[]
pointsNormalized NSValue[]
horizontalLinesNormalized SBSDKLineSegmentFloat[]
verticalLinesNormalized SBSDKLineSegmentFloat[]
aspectRatio double

SBSDKDocumentDetectionResult(SBSDKDocumentDetectionStatus, SBSDKDocumentDetectionScores, NSValue[], SBSDKLineSegmentInt[], SBSDKLineSegmentInt[], NSValue[], SBSDKLineSegmentFloat[], SBSDKLineSegmentFloat[], double, nint)

public SBSDKDocumentDetectionResult(SBSDKDocumentDetectionStatus status, SBSDKDocumentDetectionScores detectionScores, NSValue[] points, SBSDKLineSegmentInt[] horizontalLines, SBSDKLineSegmentInt[] verticalLines, NSValue[] pointsNormalized, SBSDKLineSegmentFloat[] horizontalLinesNormalized, SBSDKLineSegmentFloat[] verticalLinesNormalized, double aspectRatio, nint averageBrightness)

Parameters

status SBSDKDocumentDetectionStatus
detectionScores SBSDKDocumentDetectionScores
points NSValue[]
horizontalLines SBSDKLineSegmentInt[]
verticalLines SBSDKLineSegmentInt[]
pointsNormalized NSValue[]
horizontalLinesNormalized SBSDKLineSegmentFloat[]
verticalLinesNormalized SBSDKLineSegmentFloat[]
aspectRatio double
averageBrightness nint

Properties

AspectRatio

public virtual double AspectRatio { get; }

Property Value

double

AverageBrightness

public virtual nint AverageBrightness { get; }

Property Value

nint

ClassHandle

public override NativeHandle ClassHandle { get; }

Property Value

NativeHandle

DetectionScores

public virtual SBSDKDocumentDetectionScores DetectionScores { get; }

Property Value

SBSDKDocumentDetectionScores

Hash

public virtual nuint Hash { get; }

Property Value

nuint

HorizontalLines

public virtual SBSDKLineSegmentInt[] HorizontalLines { get; }

Property Value

SBSDKLineSegmentInt[]

HorizontalLinesNormalized

public virtual SBSDKLineSegmentFloat[] HorizontalLinesNormalized { get; }

Property Value

SBSDKLineSegmentFloat[]

IsScanningStatusOK

public virtual bool IsScanningStatusOK { get; }

Property Value

bool

Points

public virtual NSValue[] Points { get; }

Property Value

NSValue[]

PointsNormalized

public virtual NSValue[] PointsNormalized { get; }

Property Value

NSValue[]

Polygon

public virtual SBSDKPolygon? Polygon { get; }

Property Value

SBSDKPolygon

Status

public virtual SBSDKDocumentDetectionStatus Status { get; }

Property Value

SBSDKDocumentDetectionStatus

VerticalLines

public virtual SBSDKLineSegmentInt[] VerticalLines { get; }

Property Value

SBSDKLineSegmentInt[]

VerticalLinesNormalized

public virtual SBSDKLineSegmentFloat[] VerticalLinesNormalized { get; }

Property Value

SBSDKLineSegmentFloat[]

Methods

Copy(NSZone?)

public virtual NSObject Copy(NSZone? zone)

Parameters

zone NSZone

Returns

NSObject

FromJsonWithJson(string)

public static SBSDKDocumentDetectionResult? FromJsonWithJson(string json)

Parameters

json string

Returns

SBSDKDocumentDetectionResult

IsEqual(NSObject?)

public virtual bool IsEqual(NSObject? @object)

Parameters

object NSObject

Returns

bool

ToJsonWithConfiguration(SBSDKToJSONConfiguration)

public virtual string ToJsonWithConfiguration(SBSDKToJSONConfiguration configuration)

Parameters

configuration SBSDKToJSONConfiguration

Returns

string