Face Mesh Landmark
Face Mesh Return
multi_face_landmarks (namedTuple)
x, y 는 [0.0] ~ [1.0] 으로 normalized 된 값이고 z는 depth를 나타냄. 작은 값일 수록 카메라와 가까움을 나타냄.
Face Mesh
Cross-platform, customizable ML solutions for live and streaming media.
google.github.io
Face Mesh Keypoints
photo:
names:
GitHub - tensorflow/tfjs-models: Pretrained models for TensorFlow.js
Pretrained models for TensorFlow.js. Contribute to tensorflow/tfjs-models development by creating an account on GitHub.
github.com
ROI
.cc
mediapipe::NormalizedRect roi
x_center, y_center, width, height, rotation
ref: mediapipe/calculators/tensor/image_to_tensor_calculator_test.cc
.pbtxt
input_stream: "NORM_RECT:roi"
Face Detection Keypoints
class FaceKeyPoint(enum.IntEnum):
"""The enum type of the six face detection key points."""
RIGHT_EYE = 0
LEFT_EYE = 1
NOSE_TIP = 2
MOUTH_CENTER = 3
RIGHT_EAR_TRAGION = 4
LEFT_EAR_TRAGION = 5
Face Detection Returns
Detections (namedTuple)
bounding box(xmin, ymin, width, height), 6개의 keypoints
References
https://github.com/google/mediapipe/issues/1615
Definitions for 468 landmark points of a face · Issue #1615 · google/mediapipe
I am looking into javascript versions of face_mesh and holistic solution APIs. As for face landmarks, the doc says: MediaPipe Face Mesh is a face geometry solution that estimates 468 3D face landma...
github.com
'개발 > mediapipe' 카테고리의 다른 글
2022-05 (0) | 2022.05.23 |
---|---|
mac intel 에서 xcode로 opencv 설치 후 실행하기 (0) | 2022.04.23 |
m1 에서 lldb 로 실행시키기 (0) | 2022.04.23 |
Framework Concepts (0) | 2022.03.30 |
Framework Concepts - Real-time Streams (0) | 2022.03.22 |