MediaPipeTasksVision Framework Reference

MPPFaceStylizerResult

  @interface 
 MPPFaceStylizerResult 
 : 
  MPPTaskResult 
 
 

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

    Objective-C

      @property 
     ( 
     nonatomic 
     , 
     readonly 
     , 
     nullable 
     ) 
      MPPImage 
     
     * 
     stylizedImage 
     ; 
     
    
  • Initializes a new FaceStylizerResult with the given stylized image.

    Declaration

    Objective-C

      - 
     ( 
     nonnull 
     instancetype 
     ) 
     initWithImage 
     :( 
     nullable 
      MPPImage 
     
     * 
     ) 
     image 
     timestampInMilliseconds 
     :( 
     NSInteger 
     ) 
     timestampInMilliseconds 
     ; 
     
    

    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

    Declaration

    Objective-C

      - 
     ( 
     instancetype 
     ) 
     initWithTimestampInMilliseconds 
     :( 
     NSInteger 
     ) 
     timestampInMilliseconds 
     NS_UNAVAILABLE 
     ; 
     
    
  • Undocumented

    Declaration

    Objective-C

      - 
     ( 
     instancetype 
     ) 
     init 
     NS_UNAVAILABLE 
     ; 
     
    
  • Undocumented

    Declaration

    Objective-C

      + 
     ( 
     instancetype 
     ) 
     new 
     NS_UNAVAILABLE 
     ; 
     
    
Design a Mobile Site
View Site in Mobile | Classic
Share by: