顔検出モデルの座標符号を修正して回転方向とおなじになるように
This commit is contained in:
1 parent
acd08951c8
commit
321cbdca20
3 files changed
+3
-2
No files matched your search
@@ -3,6 +3,7 @@ __pycache__/
|
|||||||
.pytest_cache/
|
.pytest_cache/
|
||||||
.venv/
|
.venv/
|
||||||
.codex-test-venv/
|
.codex-test-venv/
|
||||||
|
.test-venv/
|
||||||
venv/
|
venv/
|
||||||
env/
|
env/
|
||||||
.idea/
|
.idea/
|
||||||
|
|||||||
Binary file not shown.
+2
-2
@@ -16,8 +16,8 @@ class HeadPoseEstimator:
|
|||||||
# match OpenCV image coordinates; using a Y-up model can make a frontal
|
# match OpenCV image coordinates; using a Y-up model can make a frontal
|
||||||
# face solve as an approximately 180-degree rotation.
|
# face solve as an approximately 180-degree rotation.
|
||||||
MODEL_POINTS = (
|
MODEL_POINTS = (
|
||||||
(0.0, 0.0, 0.0), (0.0, 63.6, -12.5), (-43.3, -32.7, -26.0),
|
(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),
|
(43.3, -32.7, 26.0), (-28.9, 28.9, 24.1), (28.9, 28.9, 24.1),
|
||||||
)
|
)
|
||||||
|
|
||||||
def __init__(self, config: HeadPoseSettings) -> None:
|
def __init__(self, config: HeadPoseSettings) -> None:
|
||||||
|
|||||||
Reference in new issue
Block a user