Class SBSDKDocumentDetector
- Namespace
- ScanbotSDK.iOS
- Assembly
- DocumentSDK.NET.iOS.dll
public class SBSDKDocumentDetector : NSObject
- Inheritance
-
SBSDKDocumentDetector
Constructors
SBSDKDocumentDetector()
public SBSDKDocumentDetector()
SBSDKDocumentDetector(NSObjectFlag)
protected SBSDKDocumentDetector(NSObjectFlag t)
Parameters
t
NSObjectFlag
SBSDKDocumentDetector(NativeHandle)
protected SBSDKDocumentDetector(NativeHandle handle)
Parameters
handle
NativeHandle
SBSDKDocumentDetector(SBSDKDocumentDetectorMode)
public SBSDKDocumentDetector(SBSDKDocumentDetectorMode mode)
Parameters
mode
SBSDKDocumentDetectorMode
Properties
AcceptedAngleScore
public virtual double AcceptedAngleScore { get; set; }
Property Value
- double
AcceptedBrightnessThreshold
public virtual nint AcceptedBrightnessThreshold { get; set; }
Property Value
- nint
AcceptedSizeScore
public virtual double AcceptedSizeScore { get; set; }
Property Value
- double
ClassHandle
public override NativeHandle ClassHandle { get; }
Property Value
- NativeHandle
CurrentAngleScore
public virtual double CurrentAngleScore { get; }
Property Value
- double
CurrentDistanceScore
public virtual double CurrentDistanceScore { get; }
Property Value
- double
CurrentHeightScore
public virtual double CurrentHeightScore { get; }
Property Value
- double
CurrentSizeScore
public virtual double CurrentSizeScore { get; }
Property Value
- double
CurrentTotalScore
public virtual double CurrentTotalScore { get; }
Property Value
- double
CurrentWidthScore
public virtual double CurrentWidthScore { get; }
Property Value
- double
DefaultDetectorMode
public static SBSDKDocumentDetectorMode DefaultDetectorMode { get; set; }
Property Value
- SBSDKDocumentDetectorMode
DetectedHorizontalEdges
public virtual SBSDKPolygonEdge[]? DetectedHorizontalEdges { get; }
Property Value
- SBSDKPolygonEdge[]
DetectedVerticalEdges
public virtual SBSDKPolygonEdge[]? DetectedVerticalEdges { get; }
Property Value
- SBSDKPolygonEdge[]
DetectionMetrics
public virtual SBSDKDocumentDetectionMetrics? DetectionMetrics { get; }
Property Value
- SBSDKDocumentDetectionMetrics
DetectorMode
public virtual SBSDKDocumentDetectorMode DetectorMode { get; }
Property Value
- SBSDKDocumentDetectorMode
PreferredAspectRatios
public virtual SBSDKAspectRatio[]? PreferredAspectRatios { get; set; }
Property Value
- SBSDKAspectRatio[]
RequiredAspectRatios
public virtual SBSDKAspectRatio[]? RequiredAspectRatios { get; set; }
Property Value
- SBSDKAspectRatio[]
Methods
DetectDocumentPolygonOnImage(UIImage, CGRect, bool, bool)
public virtual SBSDKDocumentDetectorResult? DetectDocumentPolygonOnImage(UIImage image, CGRect visibleImageRect, bool smoothingEnabled, bool useLiveDetectionParameters)
Parameters
image
UIImage
visibleImageRect
CGRect
smoothingEnabled
bool
useLiveDetectionParameters
bool
Returns
- SBSDKDocumentDetectorResult
public virtual SBSDKDocumentDetectorResult? DetectDocumentPolygonOnSampleBuffer(CMSampleBuffer sampleBuffer, CGRect visibleImageRect, bool smoothingEnabled, bool useLiveDetectionParameters)
Parameters
sampleBuffer
CMSampleBuffer
visibleImageRect
CGRect
smoothingEnabled
bool
useLiveDetectionParameters
bool
Returns
- SBSDKDocumentDetectorResult
DetectPhotoPolygonOnImage(UIImage, CGRect, bool)
public virtual SBSDKDocumentDetectorResult? DetectPhotoPolygonOnImage(UIImage image, CGRect visibleImageRect, bool smoothingEnabled)
Parameters
image
UIImage
visibleImageRect
CGRect
smoothingEnabled
bool
Returns
- SBSDKDocumentDetectorResult
public virtual SBSDKDocumentDetectorResult? DetectPhotoPolygonOnSampleBuffer(CMSampleBuffer sampleBuffer, CGRect visibleImageRect, bool smoothingEnabled)
Parameters
sampleBuffer
CMSampleBuffer
visibleImageRect
CGRect
smoothingEnabled
bool
Returns
- SBSDKDocumentDetectorResult
ResetSmoothingData()
public virtual void ResetSmoothingData()