Face Mesh Landmark
FACEMESH_NUM_LANDMARKS = 468
FACEMESH_NUM_LANDMARKS_WITH_IRISES = 478
Face Mesh Return
multi_face_landmarks (namedTuple)
468개의 x, y, z
x, y 는 [0.0] ~ [1.0] 으로 normalized 된 값이고 z는 depth를 나타냄. 작은 값일 수록 카메라와 가까움을 나타냄.
Face Mesh Keypoints
photo:
names:
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
728x90
반응형
'개발 > 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 |