Renamed option in MPPImageSegmenterOptions

This commit is contained in:
Prianka Liz Kariat 2023-08-31 17:31:54 +05:30
parent bac3efdf6a
commit ec87f068c1
2 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ NS_SWIFT_NAME(ImageSegmenterOptions)
@property(nonatomic) BOOL shouldOutputConfidenceMasks; @property(nonatomic) BOOL shouldOutputConfidenceMasks;
/** Represents whether to output category mask. */ /** Represents whether to output category mask. */
@property(nonatomic) BOOL shouldOutputCategoryMasks; @property(nonatomic) BOOL shouldOutputCategoryMask;
@end @end

View File

@ -30,7 +30,7 @@
imageSegmenterOptions.runningMode = self.runningMode; imageSegmenterOptions.runningMode = self.runningMode;
imageSegmenterOptions.shouldOutputConfidenceMasks = self.shouldOutputConfidenceMasks; imageSegmenterOptions.shouldOutputConfidenceMasks = self.shouldOutputConfidenceMasks;
imageSegmenterOptions.shouldOutputCategoryMasks = self.shouldOutputCategoryMasks; imageSegmenterOptions.shouldOutputCategoryMask = self.shouldOutputCategoryMask;
imageSegmenterOptions.displayNamesLocale = self.displayNamesLocale; imageSegmenterOptions.displayNamesLocale = self.displayNamesLocale;
imageSegmenterOptions.imageSegmenterLiveStreamDelegate = self.imageSegmenterLiveStreamDelegate; imageSegmenterOptions.imageSegmenterLiveStreamDelegate = self.imageSegmenterLiveStreamDelegate;