The 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 array of normalized key points that make up scribbles over the object that
the user wants to segment.
Return Value
An instance of RegionOfInterest initialized with the given normalized key points that
make up scribbles over the object that the user wants to segment.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-05-08 UTC."],[],[],null,["# MediaPipeTasksVision Framework Reference\n\nMPPRegionOfInterest\n===================\n\n\n @interface MPPRegionOfInterest : NSObject\n\nThe Region-Of-Interest (ROI) to interact with in an interactive segmentation inference.\n\nAn instance can contain erither contain a single normalized point pointing to the object that the\nuser wants to segment or array of normalized key points that make up scribbles over the object\nthat the user wants to segment.\n- `\n ``\n ``\n `\n\n ### [keypoint](#/c:objc(cs)MPPRegionOfInterest(py)keypoint)\n\n `\n ` \n The normalized point pointing to the object that the user wants to segment. `nil` if [scribbles](../Classes/MPPRegionOfInterest.html#/c:objc(cs)MPPRegionOfInterest(py)scribbles)\n is not `nil`. \n\n #### Declaration\n\n Objective-C \n\n @property (nonatomic, readonly, nullable) ../Classes/MPPNormalizedKeypoint.html *keypoint;\n\n- `\n ``\n ``\n `\n\n ### [scribbles](#/c:objc(cs)MPPRegionOfInterest(py)scribbles)\n\n `\n ` \n The array of normalized key points that make up scribbles over the object that the user wants to\n segment. `nil` if [keypoint](../Classes/MPPRegionOfInterest.html#/c:objc(cs)MPPRegionOfInterest(py)keypoint) is not `nil`. \n\n #### Declaration\n\n Objective-C \n\n @property (nonatomic, readonly, nullable) NSArray\u003c../Classes/MPPNormalizedKeypoint.html *\u003e *scribbles;\n\n- `\n ``\n ``\n `\n\n ### [-initWithNormalizedKeyPoint:](#/c:objc(cs)MPPRegionOfInterest(im)initWithNormalizedKeyPoint:)\n\n `\n ` \n Initializes a new `RegionOfInterest` that represents a single normalized point pointing to the\n object that the user wants to segment. \n\n #### Declaration\n\n Objective-C \n\n - (nonnull instancetype)initWithNormalizedKeyPoint:\n (nonnull ../Classes/MPPNormalizedKeypoint.html *)normalizedKeypoint;\n\n #### Parameters\n\n |----------------------------|---------------------------------------------------------------------------------|\n | ` `*normalizedKeypoint*` ` | The normalized key point pointing to the object that the user wants to segment. |\n\n #### Return Value\n\n An instance of `RegionOfInterest` initialized with the given normalized key point\n pointing to the object that the user wants to segment.\n- `\n ``\n ``\n `\n\n ### [-initWithScribbles:](#/c:objc(cs)MPPRegionOfInterest(im)initWithScribbles:)\n\n `\n ` \n Initializes a new `RegionOfInterest` that represents scribbles over the object that the user\n wants to segment. \n\n #### Declaration\n\n Objective-C \n\n - (nonnull instancetype)initWithScribbles:\n (nonnull NSArray\u003c../Classes/MPPNormalizedKeypoint.html *\u003e *)scribbles;\n\n #### Parameters\n\n |-------------------|-----------------------------------------------------------------------------------------------------------|\n | ` `*scribbles*` ` | The array of normalized key points that make up scribbles over the object that the user wants to segment. |\n\n #### Return Value\n\n An instance of `RegionOfInterest` initialized with the given normalized key points that\n make up scribbles over the object that the user wants to segment.\n- `\n ``\n ``\n `\n\n ### [-init](#/c:objc(cs)MPPRegionOfInterest(im)init)\n\n `\n ` \n Undocumented \n\n #### Declaration\n\n Objective-C \n\n - (instancetype)init NS_UNAVAILABLE;\n\n- `\n ``\n ``\n `\n\n ### [+new](#/c:objc(cs)MPPRegionOfInterest(cm)new)\n\n `\n ` \n Undocumented \n\n #### Declaration\n\n Objective-C \n\n + (instancetype)new NS_UNAVAILABLE;"]]