Skip to content

Getting the x,y coordinates from a model #3492

Answered by glenn-jocher
semcsherry asked this question in Q&A
Discussion options

You must be logged in to vote

@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:

  1. Load your trained pose estimation model.
  2. Run inference on your image or video frame.
  3. Access the keypoints from the inference results.

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…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by semcsherry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants