MediaPipeTasksVision Framework Reference
MPPImageEmbedderResult
Represents the embedding results generated by ImageEmbedder
. *
-
The MPPEmbedderResult
instance containing one embedding per embedder head. *
-
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).
-
Declaration
Objective-C
- (instancetype)init NS_UNAVAILABLE;
-
Declaration
Objective-C
+ (instancetype)new NS_UNAVAILABLE;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-05-08 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-05-08 UTC."],[],[],null,["# MediaPipeTasksVision Framework Reference\n\nMPPImageEmbedderResult\n======================\n\n\n @interface MPPImageEmbedderResult : ../Classes/MPPTaskResult.html\n\nRepresents the embedding results generated by `ImageEmbedder`. \\*\n- `\n ``\n ``\n `\n\n ### [embeddingResult](#/c:objc(cs)MPPImageEmbedderResult(py)embeddingResult)\n\n `\n ` \n The `MPPEmbedderResult` instance containing one embedding per embedder head. \\* \n\n #### Declaration\n\n Objective-C \n\n @property (nonatomic, readonly) ../Classes/MPPEmbeddingResult.html *_Nonnull embeddingResult;\n\n- `\n ``\n ``\n `\n\n ### [-initWithEmbeddingResult:timestampInMilliseconds:](#/c:objc(cs)MPPImageEmbedderResult(im)initWithEmbeddingResult:timestampInMilliseconds:)\n\n `\n ` \n Initializes a new `ImageEmbedderResult` with the given [MPPEmbeddingResult](../Classes/MPPEmbeddingResult.html) and\n timestamp (in milliseconds). \n\n #### Declaration\n\n Objective-C \n\n - (nonnull instancetype)\n initWithEmbeddingResult:(nullable ../Classes/MPPEmbeddingResult.html *)embeddingResult\n timestampInMilliseconds:(NSInteger)timestampInMilliseconds;\n\n #### Parameters\n\n |---------------------------------|-----------------------------------------------------------------------------------|\n | ` `*embeddingResult*` ` | The `EmbeddingResult` instance containing one set of results per classifier head. |\n | ` `*timestampInMilliseconds*` ` | The timestamp (in millisecondss) for this result. |\n\n #### Return Value\n\n An instance of `ImageEmbedderResult` initialized with the given\n [MPPEmbeddingResult](../Classes/MPPEmbeddingResult.html) and timestamp (in milliseconds).\n- `\n ``\n ``\n `\n\n ### [-init](#/c:objc(cs)MPPImageEmbedderResult(im)init)\n\n `\n ` \n Undocumented \n\n #### Declaration\n\n Objective-C \n\n - (instancetype)init NS_UNAVAILABLE;\n\n- `\n ``\n ``\n `\n\n ### [+new](#/c:objc(cs)MPPImageEmbedderResult(cm)new)\n\n `\n ` \n Undocumented \n\n #### Declaration\n\n Objective-C \n\n + (instancetype)new NS_UNAVAILABLE;"]]