顔メッシュ検出のコンセプト
顔メッシュの情報には、次の 2 つの部分があります。
368 個の 3D ポイント: 各ポイントには、検出された顔の固定位置に関連付けられた一意の ID(0 ~ 467 の範囲)が割り当てられます。各ポイントで次の処理を行います。
- x と y は、検出された顔のピクセル座標です。
- z は、画像サイズにスケーリングされた深度情報です。顔がカメラに近づくと z 値が負になります。原点は、468 ポイントすべての深さの平均です。
三角形の情報: 検出された顔の論理三角形のサーフェスを表すために使用されます。各三角形には 3 つの 3D ポイントが含まれています。たとえば、ポイント #0、#37、#164 は、鼻と唇の間に小さな三角形の領域を構築しています。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-02-28 UTC。
[null,null,["最終更新日 2025-02-28 UTC。"],[[["Face mesh data provides 468 3D points, each with unique ID, pixel coordinates (x, y), and depth information (z)."],["Triangles are formed using these 3D points to represent the face's surface, like a nose-lip triangle using points #0, #37, and #164."],["Depth information (z) is scaled relative to image size, with closer points having more negative z-values."]]],["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"]]