Normalized Landmark represents a point in 3D space with x, y, z coordinates. x and y are
normalized to [0.0, 1.0] by the image width and height respectively. z represents the landmark
depth, and the smaller the value the closer the landmark is to the camera. The magnitude of z
uses roughly the same scale as x.
Landmark visibility. Should be nil if not supported. Float score of whether landmark is visible
or occluded by other objects. Landmark considered as invisible also if it is not present on the
screen (out of scene bounds). Depending on the model, visibility value is either a sigmoid or an
argument of sigmoid.
Landmark presence. Should stay unset if not supported. Float score of whether landmark is present
on the scene (located within scene bounds). Depending on the model, presence value is either a
result of sigmoid or an argument of sigmoid function to get landmark presence probability.
[[["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\nNormalizedLandmark\n==================\n\n class NormalizedLandmark : NSObject\n\nNormalized Landmark represents a point in 3D space with x, y, z coordinates. x and y are\nnormalized to \\[0.0, 1.0\\] by the image width and height respectively. z represents the landmark\ndepth, and the smaller the value the closer the landmark is to the camera. The magnitude of z\nuses roughly the same scale as x.\n- `\n ``\n ``\n `\n\n ### [x](#/c:objc(cs)MPPNormalizedLandmark(py)x)\n\n `\n ` \n The x coordinates of the landmark. \n\n #### Declaration\n\n Swift \n\n var x: Float { get }\n\n- `\n ``\n ``\n `\n\n ### [y](#/c:objc(cs)MPPNormalizedLandmark(py)y)\n\n `\n ` \n The y coordinates of the landmark. \n\n #### Declaration\n\n Swift \n\n var y: Float { get }\n\n- `\n ``\n ``\n `\n\n ### [z](#/c:objc(cs)MPPNormalizedLandmark(py)z)\n\n `\n ` \n The z coordinates of the landmark. \n\n #### Declaration\n\n Swift \n\n var z: Float { get }\n\n- `\n ``\n ``\n `\n\n ### [visibility](#/c:objc(cs)MPPNormalizedLandmark(py)visibility)\n\n `\n ` \n Landmark visibility. Should be `nil` if not supported. Float score of whether landmark is visible\n or occluded by other objects. Landmark considered as invisible also if it is not present on the\n screen (out of scene bounds). Depending on the model, visibility value is either a sigmoid or an\n argument of sigmoid. \n\n #### Declaration\n\n Swift \n\n var visibility: NSNumber? { get }\n\n- `\n ``\n ``\n `\n\n ### [presence](#/c:objc(cs)MPPNormalizedLandmark(py)presence)\n\n `\n ` \n Landmark presence. Should stay unset if not supported. Float score of whether landmark is present\n on the scene (located within scene bounds). Depending on the model, presence value is either a\n result of sigmoid or an argument of sigmoid function to get landmark presence probability. \n\n #### Declaration\n\n Swift \n\n var presence: NSNumber? { get }\n\n- `\n ``\n ``\n `\n\n ### [init(x:y:z:visibility:presence:)](#/c:objc(cs)MPPNormalizedLandmark(im)initWithX:y:z:visibility:presence:)\n\n `\n ` \n Initializes a new `NormalizedLandmark` object with the given x, y and z coordinates. \n\n #### Declaration\n\n Swift \n\n init(x: Float, y: Float, z: Float, visibility: NSNumber?, presence: NSNumber?)\n\n #### Parameters\n\n |-----------|------------------------------------|\n | ` `*x*` ` | The x coordinates of the landmark. |\n | ` `*y*` ` | The y coordinates of the landmark. |\n | ` `*z*` ` | The z coordinates of the landmark. |\n\n #### Return Value\n\n An instance of `NormalizedLandmark` initialized with the given x, y and z coordinates.\n- `\n ``\n ``\n `\n\n ### [-init](#/c:objc(cs)MPPNormalizedLandmark(im)init)\n\n `\n ` \n Undocumented\n- `\n ``\n ``\n `\n\n ### [+new](#/c:objc(cs)MPPNormalizedLandmark(cm)new)\n\n `\n ` \n Undocumented"]]