From e559613b9de8d73e0d4956688561174b58e2dcb9 Mon Sep 17 00:00:00 2001 From: Prianka Liz Kariat Date: Thu, 22 Dec 2022 02:02:48 +0530 Subject: [PATCH] Updated comments in MPPClassifierOptions.h --- .../processors/sources/MPPClassifierOptions.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/mediapipe/tasks/ios/components/processors/sources/MPPClassifierOptions.h b/mediapipe/tasks/ios/components/processors/sources/MPPClassifierOptions.h index 348e94e96..7bf5744f7 100644 --- a/mediapipe/tasks/ios/components/processors/sources/MPPClassifierOptions.h +++ b/mediapipe/tasks/ios/components/processors/sources/MPPClassifierOptions.h @@ -38,10 +38,16 @@ NS_SWIFT_NAME(ClassifierOptions) */ @property(nonatomic) float scoreThreshold; -/** If set, all classes not in this list will be filtered out from the results. */ +/** 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. + */ @property(nonatomic, copy) NSArray *categoryAllowlist; -/** If set, all classes in this list will be filtered out from the results. */ +/** 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. + */ @property(nonatomic, copy) NSArray *categoryDenylist; @end