顔検出モデルの座標符号を修正して回転方向とおなじになるように

This commit is contained in:
agomizi1cm committed 2026-10-03 22:38:54 +09:00
1 parent acd08951c8
commit 321cbdca20
3 files changed
+3 -2

No files matched your search

+2 -2
View File
@@ -16,8 +16,8 @@ class HeadPoseEstimator:
# match OpenCV image coordinates; using a Y-up model can make a frontal
# face solve as an approximately 180-degree rotation.
MODEL_POINTS = (
(0.0, 0.0, 0.0), (0.0, 63.6, -12.5), (-43.3, -32.7, -26.0),
(43.3, -32.7, -26.0), (-28.9, 28.9, -24.1), (28.9, 28.9, -24.1),
(0.0, 0.0, 0.0), (0.0, 63.6, 12.5), (-43.3, -32.7, 26.0),
(43.3, -32.7, 26.0), (-28.9, 28.9, 24.1), (28.9, 28.9, 24.1),
)
def __init__(self, config: HeadPoseSettings) -> None: