medianLine
TypeScriptget medianLine(): FaceObservation_Landmarks2D_RegionSwift declarationvar medianLine: FaceObservation.Landmarks2D.Region { get }The region containing points that trace a vertical line down the center of the face.
struct · iOS 18.0+ · SDK 27.1
struct Landmarks2DA collection of facial features that a request detects. This class represents the set of all detectable 2D face landmarks and regions, exposed as properties. The coordinates of the face landmarks are normalized to the dimensions of the face observation’s `boundingBox`, with the origin at the bounding box’s lower-left corner.
get medianLine(): FaceObservation_Landmarks2D_RegionSwift declarationvar medianLine: FaceObservation.Landmarks2D.Region { get }The region containing points that trace a vertical line down the center of the face.
get rightPupil(): FaceObservation_Landmarks2D_RegionSwift declarationvar rightPupil: FaceObservation.Landmarks2D.Region { get }The region containing the point where the right pupil is located.
get description(): stringSwift declarationvar description: String { get }A textual representation of this instance. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(describing:)` initializer. This initializer works with any type, and uses the custom `description` property for types that conform to `CustomStringConvertible`: struct Point: CustomStringConvertible { let x: Int, y: Int var description: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(describing: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `description` property.
get faceContour(): FaceObservation_Landmarks2D_RegionSwift declarationvar faceContour: FaceObservation.Landmarks2D.Region { get }The region containing points that trace the face contour from the left cheek, over the chin, to the right cheek.
get leftEyebrow(): FaceObservation_Landmarks2D_RegionSwift declarationvar leftEyebrow: FaceObservation.Landmarks2D.Region { get }The region containing points that trace the left eyebrow.
get rightEyebrow(): FaceObservation_Landmarks2D_RegionSwift declarationvar rightEyebrow: FaceObservation.Landmarks2D.Region { get }The region containing points that trace the right eyebrow.
get originatingRequestDescriptor(): (RequestDescriptor) | nullSwift declarationlet originatingRequestDescriptor: RequestDescriptor?get nose(): FaceObservation_Landmarks2D_RegionSwift declarationvar nose: FaceObservation.Landmarks2D.Region { get }The region containing points that outline the nose.
get leftEye(): FaceObservation_Landmarks2D_RegionSwift declarationvar leftEye: FaceObservation.Landmarks2D.Region { get }The region containing points that outline the left eye.
get rightEye(): FaceObservation_Landmarks2D_RegionSwift declarationvar rightEye: FaceObservation.Landmarks2D.Region { get }The region containing points that outline the right eye.
get allPoints(): FaceObservation_Landmarks2D_RegionSwift declarationvar allPoints: FaceObservation.Landmarks2D.Region { get }get innerLips(): FaceObservation_Landmarks2D_RegionSwift declarationvar innerLips: FaceObservation.Landmarks2D.Region { get }The region containing points that outline the space between the lips.
get leftPupil(): FaceObservation_Landmarks2D_RegionSwift declarationvar leftPupil: FaceObservation.Landmarks2D.Region { get }The region containing the point where the left pupil is located.
get noseCrest(): FaceObservation_Landmarks2D_RegionSwift declarationvar noseCrest: FaceObservation.Landmarks2D.Region { get }The region containing points that trace the center crest of the nose.
get outerLips(): FaceObservation_Landmarks2D_RegionSwift declarationvar outerLips: FaceObservation.Landmarks2D.Region { get }The region containing points that outline the outside of the lips.
No declarations were skipped in this snapshot.