مرجع چارچوب MLKitFaceDetection
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
تعاریف را تایپ کنید
تعاریف نوع زیر در سطح جهانی موجود است.
اعلامیه
سویفت
struct FaceContourType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
بلوکی حاوی آرایهای از چهرهها یا اگر خطایی وجود داشته باشد nil
.
اعلامیه
سویفت
typealias FaceDetectionCallback = ([MLKFace]?, Error?) -> Void
پارامترها
faces | آرایهای از چهرهها در تصویر شناسایی میشود یا اگر خطایی وجود داشته باشد nil . |
error | |
@enum FaceDetectorClassificationMode حالت طبقهبندی برای تشخیص چهره.
اعلامیه
سویفت
struct FaceDetectorClassificationMode : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
@enum FaceDetectorPerformanceMode اولویت عملکرد برای دقت یا سرعت تشخیص چهره.
اعلامیه
سویفت
struct FaceDetectorPerformanceMode : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
@enum FaceDetectorLandmarkMode حالت تشخیص نقطه عطف برای تشخیص چهره.
اعلامیه
سویفت
struct FaceDetectorLandmarkMode : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
@enum FaceDetectorContourMode حالت تشخیص کانتور برای تشخیص چهره.
اعلامیه
سویفت
struct FaceDetectorContourMode : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
اعلامیه
سویفت
struct FaceLandmarkType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-01-07 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-01-07 بهوقت ساعت هماهنگ جهانی."],[[["This document provides global type definitions for face detection functionalities within the ML Kit framework."],["The types define structures and enumerations for facial contours, landmarks, detection callbacks, and modes for classification, performance, landmark detection, and contour detection."],["These type definitions are crucial for developers to understand and interact with the face detection features offered by the framework."],["Developers can utilize these type definitions to customize face detection based on performance, accuracy, and the desired level of detail regarding landmarks and contours."]]],[]]