TextDetection

public struct TextDetection : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The confidence that Amazon Rekognition has in the accuracy of the detected text and the accuracy of the geometry points around the detected text.

    Declaration

    Swift

    public let confidence: Float?
  • The word or line of text recognized by Amazon Rekognition.

    Declaration

    Swift

    public let detectedText: String?
  • The location of the detected text on the image. Includes an axis aligned coarse bounding box surrounding the text and a finer grain polygon for more accurate spatial information.

    Declaration

    Swift

    public let geometry: Geometry?
  • id

    The identifier for the detected text. The identifier is only unique for a single call to DetectText.

    Declaration

    Swift

    public let id: Int?
  • The Parent identifier for the detected text identified by the value of ID. If the type of detected text is LINE, the value of ParentId is Null.

    Declaration

    Swift

    public let parentId: Int?
  • The type of text that was detected.

    Declaration

    Swift

    public let type: TextTypes?
  • Undocumented

    Declaration

    Swift

    public init(confidence: Float? = nil, detectedText: String? = nil, geometry: Geometry? = nil, id: Int? = nil, parentId: Int? = nil, type: TextTypes? = nil)