FritzVisionSegmentationMaskOptions

public class FritzVisionSegmentationMaskOptions : NSObject
  • Scores output from model greater than this value will be set as 1. Lowering this value will make the mask more intense for lower confidence values.

    Declaration

    Swift

    public var clippingScoresAbove: Double
  • Values lower than this value will not appear in the mask.

    Declaration

    Swift

    public var zeroingScoresBelow: Double
  • Alpha value of the mask.

    Declaration

    Swift

    public var maxAlpha: UInt8
  • Color of the mask.

    Declaration

    Swift

    public var maskColor: UIColor
  • The radius to blur the edges of the mask.

    Declaration

    Swift

    public var blurRadius: CGFloat