Getting the x,y coordinates from a model #3492
-
I'm very new to yolov8 and python. Would someone be able to point me to a good example for getting the x and y coordinates of the keypoints of the model (when using a pose model) using Python? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@semcsherry hello! Welcome to the YOLOv8 community. 😊 To obtain the x, y coordinates of keypoints when using a pose model with YOLOv8, you'll want to follow these general steps in Python:
The keypoints are typically returned in the output as a list of coordinates, each corresponding to a specific part of the pose detected. You can iterate through these results to get the x, y coordinates for each keypoint. For detailed guidance on how to perform each of these steps, please refer to the Pose/Keypoint Estimation section in our documentation. The docs will provide you with a clear understanding of how to work with pose models and extract the information you need. If you have any more questions or need further assistance, feel free to ask. The community and the Ultralytics team are here to help. Good luck with your YOLOv8 journey! 🚀 |
Beta Was this translation helpful? Give feedback.
@semcsherry hello! Welcome to the YOLOv8 community. 😊
To obtain the x, y coordinates of keypoints when using a pose model with YOLOv8, you'll want to follow these general steps in Python:
The keypoints are typically returned in the output as a list of coordinates, each corresponding to a specific part of the pose detected. You can iterate through these results to get the x, y coordinates for each keypoint.
For detailed guidance on how to perform each of these steps, please refer to the Pose/Keypoint Estimation section in our documentation. The docs will p…