Skip to content

Latest commit

 

History

History
72 lines (58 loc) · 2.05 KB

README.md

File metadata and controls

72 lines (58 loc) · 2.05 KB

MotionCapturePythonUnity

This Unity and Python project demonstrates motion capture, where Python, utilizing OpenCV, extracts landmarks from the video. These landmarks' data is then visualized in Unity.

  • Line count: 306 (FPS)

  • Each point represents a unique landmark and is visualized as an individual sphere.

  • Total landmarks detected: 33

  • Each line contains 32 points, each defined by 3 coordinates (x, y, and z).

  • The array of points consists of 99 values, equivalent to the total number of points in a row.

    Captura de pantalla 2024-01-04 a las 7 02 55 p  m

0 - nose 1 - left eye (inner) 2 - left eye 3 - left eye (outer) 4 - right eye (inner) 5 - right eye 6 - right eye (outer) 7 - left ear 8 - right ear 9 - mouth (left) 10 - mouth (right) 11 - left shoulder 12 - right shoulder 13 - left elbow 14 - right elbow 15 - left wrist 16 - right wrist 17 - left pinky 18 - right pinky 19 - left index 20 - right index 21 - left thumb 22 - right thumb 23 - left hip 24 - right hip 25 - left knee 26 - right knee 27 - left ankle 28 - right ankle 29 - left heel 30 - right heel 31 - left foot index 32 - right foot index


Video :

Video.mp4

Data as an example :

AnimationMotionCaptureFile.txt.zip


Technology Stack used

  • MediaPipe
  • Python
  • Unity
  • C#
  • OpenCV

Pictures

Captura de pantalla 2024-01-04 a las 8 37 02 p  m Captura de pantalla 2024-01-04 a las 8 36 33 p  m