การอ้างอิงเฟรมเวิร์ก MLKitPoseDetectionCommon
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
MLKPoseLandmark
@interface MLKPoseLandmark : NSObject
สถานที่สำคัญในผลการค้นหาการตรวจจับท่าทาง
-
ประเภทจุดสังเกต (ตำแหน่งบนเนื้อความ)
-
ตำแหน่งของจุด 3 มิติในพื้นที่รูปภาพอินพุต
ค่า z ไม่ได้มีจุดเริ่มต้นที่ตายตัวในพื้นที่รูปภาพ แต่ต้นทาง Z จะอยู่บนสะโพกของผู้ที่ตรวจพบ ค่า z ที่เป็นลบบ่งบอกว่าจุดสังเกตอยู่หน้าต้นทาง z ระหว่างบุคคลที่ตรวจพบกับกล้อง ส่วนค่า z ที่เป็นบวกบ่งบอกว่าจุดสังเกตอยู่หลังจุดเริ่มต้น z
ค่า Z ไม่ได้มีช่วงตายตัว อย่างไรก็ตาม เนื่องจากระบบพิกัด z อยู่ในพื้นที่รูปภาพที่ป้อน คุณจึงใช้ค่า z เพื่ออนุมานระยะทางสัมพัทธ์ระหว่างจุดสังเกตซึ่งวัดเป็นพิกเซลรูปภาพได้
หมายเหตุ: ค่า Z มีความแม่นยำน้อยกว่าค่า x และ y นอกจากนี้ ระบบจะไม่คํานวณค่า z สําหรับจุดสังเกตบนใบหน้า โปรดละเว้นค่าดังกล่าว
คำประกาศ
Objective-C
@property (nonatomic, readonly) MLKVision3DPoint *_Nonnull position;
-
ความน่าจะเป็นในช่วง [0, 1] ที่จุดสังเกตอยู่ในเฟรมรูปภาพจริง
คำประกาศ
Objective-C
@property (nonatomic, readonly) float inFrameLikelihood;
-
คำประกาศ
Objective-C
- (nonnull instancetype)init;
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-11-08 UTC
[[["เข้าใจง่าย","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"]],["อัปเดตล่าสุด 2024-11-08 UTC"],[[["`MLKPoseLandmark` represents a specific point on a detected body within an image."],["Each landmark includes its type (body location), 3D position in the image, and a likelihood of being within the frame."],["The 3D position's z-value indicates relative depth, with negative values closer to the camera and positive values further away, relative to the person's hip."],["While the z-values help understand relative depth, they are less accurate than the x and y coordinates and are not calculated for facial landmarks."]]],["MLKPoseLandmark represents a body landmark in pose detection. It provides the `type`, indicating the body location, and the `position`, a 3D point in image space with z-origin at the hip. The `inFrameLikelihood` property, ranging from 0 to 1, reflects the confidence of the landmark's presence in the image. Z-values indicate depth relative to the hip, with negative values in front and positive values behind. Facial landmarks do not have z-values. The init method is unavailable.\n"]]