-
[Monocular Camera 3D Hand] MediaPipe Hand 2.5D 좌표를 3D 좌표로 변경하는 법 (연구중)CV, AR, VR 2023. 2. 27. 17:46728x90
들어가기
새로 받은 과제. 스마트폰의 단안 카메라(Monocular Camera)로 손의 3D 좌표를 구하라!
기존에 널리 쓰이는 MediaPipe를 활용하는 방법, 딥러닝 기반으로 3D 좌표를 추정하는 방법 2가지를 알아보자.
MediaPipe Hand의 문제
MediaPipe Hand의 3D 좌표는 사실 3D가 아니다. X, Y는 우리가 아는 좌표이지만, Z는 손목을 원점으로 하는 상대 좌표이다. 그래서 Z좌표가 음수가 나올 수도 있는 것이다!
https://github.com/google/mediapipe/issues/99
Handtracking with real 3D coordinate based on camera coordinate system? · Issue #99 · google/mediapipe
I tested the output of 3D points in handtracking, and found that x y is a pixel coordinate, consistent with 2d, Z is a virtual coordinate. Do you plan to release a real 3D coordinate version based ...
github.com
MediaPipe Hand의 자세한 설명.
https://github.com/google/mediapipe/issues/742#issuecomment-639104199
Hand tracking landmarks - Z value range · Issue #742 · google/mediapipe
I am failing to find any kind of documentation or example that would explain the exact definition/behavior of the estimated Z coordinates returned by the hand tracking graph. We're able to succ...
github.com
해결법?
1. Unity ScreenToWorldPoint ?
2. 연구중
https://arxiv.org/abs/1804.09534
위 논문은 MediaPipe 2.5D 좌표를 카메라 파라미터에 따라 실제 3D좌표로 변환하는 것이다.
카메라 파라미터를 모두 가지고 있어야하는게 단점이지만, 시도는 해볼만 하다.
https://github.com/google/mediapipe/issues/1153
Is it possible to get distance from camera to the hand using the z values from hand landmark detector? · Issue #1153 · google/
Currently I am working on a project that uses the hand detector and hand landmarks model to track the hands and control the cursor on a computer screen. I am using the tflite models provided and py...
github.com
728x90'CV, AR, VR' 카테고리의 다른 글
[Monocular Camera 3D Hand] MobRecon: Mobile-Friendly Hand Mesh Reconstruction from Monocular Image 리뷰 (0) 2023.03.08 [Monocular Camera 3D Hand] 딥러닝 기반 3d-hand-pose-estimation (0) 2023.02.27 [Unity] Unity3D 쿼터뷰 액션게임 클론 코딩 2일차 (0) 2022.03.22 [Unity] Unity3D 쿼터뷰 액션게임 클론 코딩 1일차 (0) 2022.03.18 [Unity] "Flappy Bird" Clone Coding 2일차 (0) 2022.03.17