DetectionFilter

public struct DetectionFilter : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • Sets the minimum height of the word bounding box. Words with bounding box heights lesser than this value will be excluded from the result. Value is relative to the video frame height.

    Declaration

    Swift

    public let minBoundingBoxHeight: Float?
  • Sets the minimum width of the word bounding box. Words with bounding boxes widths lesser than this value will be excluded from the result. Value is relative to the video frame width.

    Declaration

    Swift

    public let minBoundingBoxWidth: Float?
  • Sets confidence of word detection. Words with detection confidence below this will be excluded from the result. Values should be between 0.5 and 1 as Text in Video will not return any result below 0.5.

    Declaration

    Swift

    public let minConfidence: Float?
  • Undocumented

    Declaration

    Swift

    public init(minBoundingBoxHeight: Float? = nil, minBoundingBoxWidth: Float? = nil, minConfidence: Float? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws