MediaPipeTasksVision Framework Reference

ImageEmbedderResult

class ImageEmbedderResult: TaskResult, NSCopying

Represents the embedding results generated by ImageEmbedder. *

  • Initializes a new ImageEmbedderResult with the given MPPEmbeddingResult and timestamp (in milliseconds).

    Declaration

    Swift

    init(embeddingResult: EmbeddingResult?, timestampInMilliseconds: Int)

    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).

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

    Declaration

    Swift

    var embeddingResult: EmbeddingResult { get }