Closed connernam closed 3 years ago
The MediaPipe Python Colab (https://colab.research.google.com/drive/1uCuA6We9T5r0WljspEHWPHXCT_2bMKUy) has an example that generates and visualizes world 3D pose landmarks.
@chuoling Thank you for your reply. Colab's demo seems to cover only a single image. What I want is 3d posture estimation in real time (on webcam).
Have you tried using the code snippet in https://google.github.io/mediapipe/solutions/pose.html#python-solution-api under # For webcam input
, and add the following for visualization the world 3D pose landmarks (like in the Colab with static images)?
mp_drawing.plot_landmarks(
results.pose_world_landmarks, mp_pose.POSE_CONNECTIONS)
Yes, I tried the code snippet.
The result is shown as a simple image plotted as shown below. I want to implement a 3D plotter that moves the same as the input image in Python in real time like Fig 5.
Similar implementation examples can be seen in WebDemo, but no implementation examples or APIs can be found using Python.
If there were no examples and APIs, it would have to be implemented on its own, but if there were, it would have been easier to develop.
Not exactly as in the picture, but check out my mediapipe demo repository. Almost all the solutions as python real-time applications applied on the webcam video signal.
@Rassibassi I will check your repo. Thank you for your reply.
@Rassibassi, your repo has some useful scripts, but a solution to the initial question is not provided, or am I missing something?
@connernam did you find something? I used for my visualizations ipyvolume. It works quite good, but the repo is not maintained very actively.
I want to implement 3D Pose on Python like Fig 5 on https://google.github.io/mediapipe/solutions/pose.
However, I would like to refer to a demo that has already been implemented. Please let me know if you have a repository or reference that can help.