แนวคิดการตรวจจับตาข่าย
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ข้อมูลตาข่ายจะมี 2 ส่วนดังนี้
4 มิติ 368 จุด: แต่ละจุดมีรหัสที่ไม่ซ้ํากันตั้งแต่ 0 ถึง 467
เชื่อมโยงอยู่กับตําแหน่งคงที่ในใบหน้าที่ตรวจพบ สําหรับแต่ละจุด
- x และ y คือพิกัดพิกเซลของใบหน้าที่ตรวจพบ
- z คือข้อมูลความลึกที่ปรับขนาดเป็นรูปภาพ ดังนั้นค่า z จะเป็นค่าลบมากขึ้นเมื่อหน้าอยู่ใกล้กับกล้องมากขึ้น จุดเริ่มต้นคือความลึก
โดยเฉลี่ยที่ 468 จุด
ข้อมูลสามเหลี่ยม: ส่วนนี้จะใช้แสดงพื้นที่รูปสามเหลี่ยมเชิงตรรกะในใบหน้าที่ตรวจพบ สามเหลี่ยมแต่ละรูปมีจุด 3 มิติ 3 จุด เช่น จุด
#0, #37 และ #164 จะสร้างพื้นที่เล็กๆ รูปสามเหลี่ยมระหว่างจมูกและริมฝีปาก
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-29 UTC
[null,null,["อัปเดตล่าสุด 2025-08-29 UTC"],[[["\u003cp\u003eFace mesh data provides 468 3D points, each with unique ID, pixel coordinates (x, y), and depth information (z).\u003c/p\u003e\n"],["\u003cp\u003eTriangles are formed using these 3D points to represent the face's surface, like a nose-lip triangle using points #0, #37, and #164.\u003c/p\u003e\n"],["\u003cp\u003eDepth information (z) is scaled relative to image size, with closer points having more negative z-values.\u003c/p\u003e\n"]]],["The face mesh data consists of 468 unique 3D points, each with x and y pixel coordinates on the detected face and a z-value representing depth relative to the average depth of all points. Each point has an ID from 0 to 467. Additionally, the data includes triangle information, where each triangle is defined by three of these 3D points. These triangles create a surface representing the detected face, with each having its own IDs, such as points #0, #37, and #164.\n"],null,["Face mesh info contains two parts:\n\n- **468 3D points:** Each point has a unique ID, ranging from 0 to 467,\n associated with a fixed position on the detected face. For each point:\n\n - x and y are pixel coordinates of the detected face.\n - z is the depth info scaled to image size, such that z-values are more negative when the face is closer to the camera. The origin is the average depth of all 468 points.\n- **Triangle info:** This is used to represent a logical triangle surface in the\n detected face. Each triangle contains three 3D points. For example, Points\n #0, #37, and #164 construct a small triangle area between the nose and\n lips.\n\n[](/static/ml-kit/vision/face-mesh-detection/images/uv_unwrap_full.png)"]]