-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Request] Add Human Pose Estimation 3D Demo for C++ #879
Comments
Hi! There is one for pose estimation in 2D. Since these networks are similar, demo can be transformed for 3D case. It looks like a project for internship (one of), so if it will be a hot request, guys may consider doing it (probably 😃). Actually, I would say it already has ~80% of code in OpenCV/C++. So what do you expect from pure OpenCV/C++ demo, do you have some specific use case? |
I cannot provide a complete code for a Jupyter notebook without more specific details about what you want to accomplish. However, here is an example of how you can use the OpenCV library in Python to perform human pose estimation: python Load the Mediapipe Pose modelmp_pose = mp.solutions.pose Initialize the video capture devicecap = cv2.VideoCapture(0) Create a Mediapipe Pose objectwith mp_pose.Pose(min_detection_confidence=0.5, min_tracking_confidence=0.5) as pose:
Release the video capture device and destroy all windowscap.release() Inside the main loop, we read a frame from the video capture device, convert it to RGB format, and process it with the Mediapipe Pose model. If pose landmarks are detected, we draw them on the image using the mp_pose.draw_landmarks function. Finally, we display the image and wait for the 'q' key to be pressed to exit the program. Note that this is just a basic example, and there are many more parameters and options that can be configured for the Mediapipe Pose model. Also, you may need to install the necessary libraries and dependencies before running this code in a Jupyter notebook. |
Please consider to add demo of human pose estimation 3d for C++. Thanks,
https://github.com/opencv/open_model_zoo/tree/master/models/public/human-pose-estimation-3d-0001
The text was updated successfully, but these errors were encountered: