MLKitFaceDetection 框架参考
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
FaceContour
class FaceContour : NSObject
在图片中检测到的人脸轮廓。
-
-
声明
Swift
var points: [MLKVisionPoint] { get }
-
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003e\u003ccode\u003eFaceContour\u003c/code\u003e represents a detected contour on a human face within an image.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties defining the contour's type (e.g., upper lip, lower lip) and an array of 2D points that form the contour's shape.\u003c/p\u003e\n"],["\u003cp\u003eDirect initialization of \u003ccode\u003eFaceContour\u003c/code\u003e is not allowed; it is typically obtained as part of face detection results.\u003c/p\u003e\n"]]],[],null,["# MLKitFaceDetection Framework Reference\n\nFaceContour\n===========\n\n class FaceContour : NSObject\n\nA contour on a human face detected in an image.\n- `\n ``\n ``\n `\n\n ### [type](#/c:objc(cs)MLKFaceContour(py)type)\n\n `\n ` \n The facial contour type. \n\n #### Declaration\n\n Swift \n\n var type: ../Type-Definitions.html#/c:MLKFaceContour.h@T@MLKFaceContourType { get }\n\n- `\n ``\n ``\n `\n\n ### [points](#/c:objc(cs)MLKFaceContour(py)points)\n\n `\n ` \n An array of 2D points that make up the facial contour. \n\n #### Declaration\n\n Swift \n\n var points: [MLKVisionPoint] { get }\n\n- `\n ``\n ``\n `\n\n ### [-init](#/c:objc(cs)MLKFaceContour(im)init)\n\n `\n ` \n Unavailable."]]