The maximum number of top-scored classification results to return. If < 0, all available results
will be returned. If 0, an invalid argument error is returned.
The allowlist of category names. If non-empty, detection results whose category name is not in
this set will be filtered out. Duplicate or unknown category names are ignored. Mutually
exclusive with categoryDenylist.
The denylist of category names. If non-empty, detection results whose category name is in this
set will be filtered out. Duplicate or unknown category names are ignored. Mutually exclusive
with categoryAllowlist.
[[["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\nClassifierOptions\n=================\n\n class ClassifierOptions : NSObject, NSCopying\n\nClassifier options shared across MediaPipe iOS classification tasks.\n- `\n ``\n ``\n `\n\n ### [displayNamesLocale](#/c:objc(cs)MPPClassifierOptions(py)displayNamesLocale)\n\n `\n ` \n The locale to use for display names specified through the TFLite Model Metadata, if any. Defaults\n to English. \n\n #### Declaration\n\n Swift \n\n var displayNamesLocale: String? { get set }\n\n- `\n ``\n ``\n `\n\n ### [maxResults](#/c:objc(cs)MPPClassifierOptions(py)maxResults)\n\n `\n ` \n The maximum number of top-scored classification results to return. If \\\u003c 0, all available results\n will be returned. If 0, an invalid argument error is returned. \n\n #### Declaration\n\n Swift \n\n var maxResults: Int { get set }\n\n- `\n ``\n ``\n `\n\n ### [scoreThreshold](#/c:objc(cs)MPPClassifierOptions(py)scoreThreshold)\n\n `\n ` \n Score threshold to override the one provided in the model metadata (if any). Results below this\n value are rejected. \n\n #### Declaration\n\n Swift \n\n var scoreThreshold: Float { get set }\n\n- `\n ``\n ``\n `\n\n ### [categoryAllowlist](#/c:objc(cs)MPPClassifierOptions(py)categoryAllowlist)\n\n `\n ` \n The allowlist of category names. If non-empty, detection results whose category name is not in\n this set will be filtered out. Duplicate or unknown category names are ignored. Mutually\n exclusive with categoryDenylist. \n\n #### Declaration\n\n Swift \n\n var categoryAllowlist: [String]? { get set }\n\n- `\n ``\n ``\n `\n\n ### [categoryDenylist](#/c:objc(cs)MPPClassifierOptions(py)categoryDenylist)\n\n `\n ` \n The denylist of category names. If non-empty, detection results whose category name is in this\n set will be filtered out. Duplicate or unknown category names are ignored. Mutually exclusive\n with categoryAllowlist. \n\n #### Declaration\n\n Swift \n\n var categoryDenylist: [String]? { get set }"]]