MediaPipeTasksVision Framework Reference

MPPImageEmbedderResult


@interface MPPImageEmbedderResult : MPPTaskResult

Represents the embedding results generated by ImageEmbedder. *

  • The MPPEmbedderResult instance containing one embedding per embedder head. *

    Declaration

    Objective-C

    @property (nonatomic, readonly) MPPEmbeddingResult *_Nonnull embeddingResult;
  • Initializes a new ImageEmbedderResult with the given MPPEmbeddingResult and timestamp (in milliseconds).

    Declaration

    Objective-C

    - (nonnull instancetype)
        initWithEmbeddingResult:(nullable MPPEmbeddingResult *)embeddingResult
        timestampInMilliseconds:(NSInteger)timestampInMilliseconds;

    Parameters

    embeddingResult

    The EmbeddingResult instance containing one set of results per classifier head.

    timestampInMilliseconds

    The timestamp (in millisecondss) for this result.

    Return Value

    An instance of ImageEmbedderResult initialized with the given MPPEmbeddingResult and timestamp (in milliseconds).

  • Undocumented

    Declaration

    Objective-C

    - (instancetype)init NS_UNAVAILABLE;
  • Undocumented

    Declaration

    Objective-C

    + (instancetype)new NS_UNAVAILABLE;