MediaPipeTasksVision Framework Reference

FaceStylizerResult

class FaceStylizerResult : TaskResult

Represents the stylized image generated by FaceStylizer.

  • An MPImage representing the stylized image of the most visible face. Empty if no face is detected in the input image.

    Declaration

    Swift

    var stylizedImage: MPImage? { get }
  • Initializes a new FaceStylizerResult with the given stylized image.

    Declaration

    Swift

    init(image: MPImage?, timestampInMilliseconds: Int)

    Parameters

    stylizedImage

    An MPImage representing the stylized image of the most visible face. Empty if no face is detected in the input image.

    timestampInMilliseconds

    The timestamp for this result.

    Return Value

    An instance of FaceStylizerResult initialized with the given stylized image and timestamp.

  • Undocumented

  • Undocumented

  • Undocumented