MediaPipeTasksVision Framework Reference

ImageEmbedderResult

class ImageEmbedderResult : TaskResult

Represents the embedding results generated by ImageEmbedder. *

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

    Declaration

    Swift

    var embeddingResult: EmbeddingResult { get }
  • 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).

  • Undocumented

  • Undocumented