[[["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\nMPPClassifications\n==================\n\n\n @interface MPPClassifications : NSObject\n\nRepresents the list of classification for a given classifier head. Typically used as a result\nfor classification tasks.\n- `\n ``\n ``\n `\n\n ### [headIndex](#/c:objc(cs)MPPClassifications(py)headIndex)\n\n `\n ` \n The index of the classifier head these entries refer to. This is useful for multi-head models. \n\n #### Declaration\n\n Objective-C \n\n @property (nonatomic, readonly) NSInteger headIndex;\n\n- `\n ``\n ``\n `\n\n ### [headName](#/c:objc(cs)MPPClassifications(py)headName)\n\n `\n ` \n The optional name of the classifier head, which is the corresponding tensor metadata name. \n\n #### Declaration\n\n Objective-C \n\n @property (nonatomic, readonly, nullable) NSString *headName;\n\n- `\n ``\n ``\n `\n\n ### [categories](#/c:objc(cs)MPPClassifications(py)categories)\n\n `\n ` \n An array of `Category` objects containing the predicted categories. \n\n #### Declaration\n\n Objective-C \n\n @property (nonatomic, readonly) NSArray\u003c../Classes/MPPCategory.html *\u003e *_Nonnull categories;\n\n- `\n ``\n ``\n `\n\n ### [-initWithHeadIndex:categories:](#/c:objc(cs)MPPClassifications(im)initWithHeadIndex:categories:)\n\n `\n ` \n Initializes a new `Classifications` object with the given head index and array of categories.\n Head name is initialized to `nil`. \n\n #### Declaration\n\n Objective-C \n\n - (nonnull instancetype)initWithHeadIndex:(NSInteger)headIndex\n categories:\n (nonnull NSArray\u003c../Classes/MPPCategory.html *\u003e *)categories;\n\n #### Parameters\n\n |--------------------|---------------------------------------------------------------------|\n | ` `*headIndex*` ` | The index of the classifier head. |\n | ` `*categories*` ` | An array of `Category` objects containing the predicted categories. |\n\n #### Return Value\n\n An instance of `Classifications` initialized with the given head index and\n array of categories.\n- `\n ``\n ``\n `\n\n ### [-initWithHeadIndex:headName:categories:](#/c:objc(cs)MPPClassifications(im)initWithHeadIndex:headName:categories:)\n\n `\n ` \n Initializes a new `Classifications` with the given head index, head name and array of\n categories. \n\n #### Declaration\n\n Objective-C \n\n - (nonnull instancetype)initWithHeadIndex:(NSInteger)headIndex\n headName:(nullable NSString *)headName\n categories:\n (nonnull NSArray\u003c../Classes/MPPCategory.html *\u003e *)categories;\n\n #### Parameters\n\n |--------------------|-----------------------------------------------------------------------------------|\n | ` `*headIndex*` ` | The index of the classifier head. |\n | ` `*headName*` ` | The name of the classifier head, which is the corresponding tensor metadata name. |\n | ` `*categories*` ` | An array of `Category` objects containing the predicted categories. |\n\n #### Return Value\n\n An object of `Classifications` initialized with the given head index, head name and\n array of categories.\n- `\n ``\n ``\n `\n\n ### [-init](#/c:objc(cs)MPPClassifications(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)MPPClassifications(cm)new)\n\n `\n ` \n Undocumented \n\n #### Declaration\n\n Objective-C \n\n + (instancetype)new NS_UNAVAILABLE;"]]