MPPRegionOfInterest
@interface MPPRegionOfInterest : NSObjectThe Region-Of-Interest (ROI) to interact with in an interactive segmentation inference.
An instance can contain erither contain a single normalized point pointing to the object that the user wants to segment or array of normalized key points that make up scribbles over the object that the user wants to segment.
- 
                  
                  The normalized point pointing to the object that the user wants to segment. nilifscribblesis notnil.DeclarationObjective-C @property (nonatomic, readonly, nullable) MPPNormalizedKeypoint *keypoint;
- 
                  
                  The array of normalized key points that make up scribbles over the object that the user wants to segment. nilifkeypointis notnil.DeclarationObjective-C @property (nonatomic, readonly, nullable) NSArray<MPPNormalizedKeypoint *> *scribbles;
- 
                  
                  Initializes a new RegionOfInterestthat represents a single normalized point pointing to the object that the user wants to segment.DeclarationObjective-C - (nonnull instancetype)initWithNormalizedKeyPoint: (nonnull MPPNormalizedKeypoint *)normalizedKeypoint;ParametersnormalizedKeypointThe normalized key point pointing to the object that the user wants to segment. Return ValueAn instance of RegionOfInterestinitialized with the given normalized key point pointing to the object that the user wants to segment.
- 
                  
                  Initializes a new RegionOfInterestthat represents scribbles over the object that the user wants to segment.DeclarationObjective-C - (nonnull instancetype)initWithScribbles: (nonnull NSArray<MPPNormalizedKeypoint *> *)scribbles;ParametersscribblesThe array of normalized key points that make up scribbles over the object that the user wants to segment. Return ValueAn instance of RegionOfInterestinitialized with the given normalized key points that make up scribbles over the object that the user wants to segment.
- 
                  
                  Undocumented DeclarationObjective-C - (instancetype)init NS_UNAVAILABLE;
- 
                  
                  Undocumented DeclarationObjective-C + (instancetype)new NS_UNAVAILABLE;