Renamed option in MPPImageSegmenterOptions
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user