SBSDKDocumentDetectionStatus
enum SBSDKDocumentDetectionStatus : int {}
The status of the latest document detection.
-
The status is unknown, detection has not yet happened.
Declaration
Objective-C
SBSDKDocumentDetectionStatusNotAcquired = 0
-
An acceptable polygon was detected.
Declaration
Objective-C
SBSDKDocumentDetectionStatusOK = 100
-
A polygon was detected, but its size is too small.
Declaration
Objective-C
SBSDKDocumentDetectionStatusOK_SmallSize = 101
-
A polygon was detected, but it has too much perspective distortion.
Declaration
Objective-C
SBSDKDocumentDetectionStatusOK_BadAngles = 102
-
A polygon was detected, but its aspect ratio should be landscape/portrait but is portrait/landscape.
Declaration
Objective-C
SBSDKDocumentDetectionStatusOK_BadAspectRatio = 103
-
A polygon was detected, but its center is too far away from the image center.
Declaration
Objective-C
SBSDKDocumentDetectionStatusOK_OffCenter = 104
-
No polygon detected at all.
Declaration
Objective-C
SBSDKDocumentDetectionStatusError_NothingDetected = 200
-
No polygon detected, image too dark.
Declaration
Objective-C
SBSDKDocumentDetectionStatusError_Brightness = 201
-
No polygon detected, image too noisy (background).
Declaration
Objective-C
SBSDKDocumentDetectionStatusError_Noise = 202