RegionOfInterest
class RegionOfInterest : 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.Declaration
Swift
var keypoint: NormalizedKeypoint? { get } -
The array of normalized key points that make up scribbles over the object that the user wants to segment.
nilifkeypointis notnil.Declaration
Swift
var scribbles: [NormalizedKeypoint]? { get } -
Initializes a new
RegionOfInterestthat represents a single normalized point pointing to the object that the user wants to segment.Declaration
Swift
init(normalizedKeyPoint normalizedKeypoint: NormalizedKeypoint)Parameters
normalizedKeypointThe normalized key point pointing to the object that the user wants to segment.
Return Value
An 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.Declaration
Swift
init(scribbles: [NormalizedKeypoint])Parameters
scribblesThe array of normalized key points that make up scribbles over the object that the user wants to segment.
Return Value
An instance of
RegionOfInterestinitialized with the given normalized key points that make up scribbles over the object that the user wants to segment. -
Undocumented
-
Undocumented