An object that confirms to ImageClassifierLiveStreamDelegate protocol. This object must
implement objectDetector(_:didFinishDetectionWithResult:timestampInMilliseconds:error:) to
receive the results of asynchronous classification on images (i.e, when runningMode =
.liveStream).
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\nMPPImageClassifierOptions\n=========================\n\n\n @interface MPPImageClassifierOptions : ../Classes/MPPTaskOptions.html \u003cNSCopying\u003e\n\nOptions for setting up a `ImageClassifier`.\n- `\n ``\n ``\n `\n\n ### [runningMode](#/c:objc(cs)MPPImageClassifierOptions(py)runningMode)\n\n `\n ` \n Running mode of the image classifier task. Defaults to `.image`.\n `ImageClassifier` can be created with one of the following running modes:\n 1. `.image`: The mode for performing classification on single image inputs.\n 2. `.video`: The mode for performing classification on the decoded frames of a video.\n 3. `.liveStream`: The mode for performing classification on a live stream of input data, such as from the camera. \n\n #### Declaration\n\n Objective-C \n\n @property (nonatomic) ../Enums/MPPRunningMode.html runningMode;\n\n- `\n ``\n ``\n `\n\n ### [imageClassifierLiveStreamDelegate](#/c:objc(cs)MPPImageClassifierOptions(py)imageClassifierLiveStreamDelegate)\n\n `\n ` \n An object that confirms to `ImageClassifierLiveStreamDelegate` protocol. This object must\n implement `objectDetector(_:didFinishDetectionWithResult:timestampInMilliseconds:error:)` to\n receive the results of asynchronous classification on images (i.e, when `runningMode =\n .liveStream`). \n\n #### Declaration\n\n Objective-C \n\n @property (nonatomic, weak, nullable) id\u003c../Protocols/MPPImageClassifierLiveStreamDelegate.html\u003e imageClassifierLiveStreamDelegate;\n\n- `\n ``\n ``\n `\n\n ### [displayNamesLocale](#/c:objc(cs)MPPImageClassifierOptions(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 Objective-C \n\n @property (nonatomic, copy) NSString *_Nonnull displayNamesLocale;\n\n- `\n ``\n ``\n `\n\n ### [maxResults](#/c:objc(cs)MPPImageClassifierOptions(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 Objective-C \n\n @property (nonatomic) NSInteger maxResults;\n\n- `\n ``\n ``\n `\n\n ### [scoreThreshold](#/c:objc(cs)MPPImageClassifierOptions(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 Objective-C \n\n @property (nonatomic) float scoreThreshold;\n\n- `\n ``\n ``\n `\n\n ### [categoryAllowlist](#/c:objc(cs)MPPImageClassifierOptions(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 Objective-C \n\n @property (nonatomic, copy) NSArray\u003cNSString *\u003e *_Nonnull categoryAllowlist;\n\n- `\n ``\n ``\n `\n\n ### [categoryDenylist](#/c:objc(cs)MPPImageClassifierOptions(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 Objective-C \n\n @property (nonatomic, copy) NSArray\u003cNSString *\u003e *_Nonnull categoryDenylist;"]]