diff --git a/mediapipe/tasks/ios/components/processors/sources/MPPClassifierOptions.h b/mediapipe/tasks/ios/components/processors/sources/MPPClassifierOptions.h index b31dadb63..d6b9a9582 100644 --- a/mediapipe/tasks/ios/components/processors/sources/MPPClassifierOptions.h +++ b/mediapipe/tasks/ios/components/processors/sources/MPPClassifierOptions.h @@ -22,16 +22,18 @@ NS_ASSUME_NONNULL_BEGIN NS_SWIFT_NAME(ClassifierOptions) @interface MPPClassifierOptions : NSObject -/** If set, all classes in this list will be filtered out from the results . */ +/** If set, all classes in this list will be filtered out from the results. */ @property(nonatomic, copy) NSArray *labelDenyList; -/** If set, all classes not in this list will be filtered out from the results . */ +/** If set, all classes not in this list will be filtered out from the results. */ @property(nonatomic, copy) NSArray *labelAllowList; -/** Display names local for display names*/ +/** The locale to use for display names specified through the TFLite Model + * Metadata, if any. Defaults to English. + */ @property(nonatomic, copy) NSString *displayNamesLocale; -/** Results with score threshold greater than this value are returned . */ +/** Results with score threshold greater than this value are returned. */ @property(nonatomic) float scoreThreshold; /** Limit to the number of classes that can be returned in results. */