MPPFaceStylizerResult
@interface MPPFaceStylizerResult : MPPTaskResultRepresents the stylized image generated by FaceStylizer.
-
An
MPImagerepresenting 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
FaceStylizerResultwith the given stylized image.Declaration
Objective-C
- (nonnull instancetype)initWithImage:(nullable MPPImage *)image timestampInMilliseconds:(NSInteger)timestampInMilliseconds;Parameters
stylizedImageAn
MPImagerepresenting the stylized image of the most visible face. Empty if no face is detected in the input image.timestampInMillisecondsThe timestamp for this result.
Return Value
An instance of
FaceStylizerResultinitialized 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;