Meet YOLO26: next-gen vision AI.
Ultralytics
Back to Ultralytics Glossary

Keypoints

Learn how keypoints define object geometry and posture in AI. Explore pose estimation with Ultralytics YOLO26 and get started with our easy-to-use Python SDK.

Keypoints are distinct spatial locations or landmarks within an image that define significant features of an object or subject. In the context of computer vision and machine learning, a keypoint is typically represented by a set of coordinates (X, Y) that pinpoint a specific part of an object, such as the elbow of a person, the corner of a building, or the center of a car wheel. Unlike simpler tasks that only identify the presence of an object, identifying keypoints allows artificial intelligence (AI) models to understand the geometry, posture, and structural arrangement of the subject. This capability is fundamental to advanced visual analysis, enabling machines to interpret body language, track precise movements, and align digital overlays with real-world objects.

Link to this sectionThe Role of Keypoints in AI Models#

Keypoints serve as the foundational data for pose estimation, a technique that maps the skeletal structure of a human or animal. By detecting a predefined set of points—such as shoulders, knees, and ankles—algorithms can reconstruct the full pose of a subject in real-time. This process goes beyond standard object detection, which typically outputs a bounding box around an object without understanding its internal shape.

Modern architectures, such as the state-of-the-art Ultralytics YOLO26, have evolved to predict these keypoints with high accuracy and speed. These models utilize deep learning (DL) networks trained on massive annotated datasets, such as COCO Keypoints, to learn the visual patterns associated with joints and facial features. During inference, the model regresses the coordinates for each keypoint, often including a confidence score to indicate the reliability of the prediction.

It is helpful to distinguish keypoints from other common computer vision outputs to understand their unique utility:

  • Keypoints vs. Bounding Boxes: A bounding box provides a coarse localization, enclosing the entire object in a rectangle. Keypoints provide fine-grained localization of specific parts within that object.
  • Keypoints vs. Image Segmentation: Image segmentation classifies every pixel to create a precise mask of the object's shape. While segmentation offers detailed boundary information, keypoints offer a structural summary (a "skeleton") which is often more efficient for analyzing motion and kinematics.
  • Keypoints vs. Feature Descriptors: In traditional image processing like SIFT (Scale-Invariant Feature Transform), keypoints are points of interest (corners, blobs) used for image matching. In modern DL pose estimation, keypoints are semantic labels (e.g., "left wrist") learned by the network.

Link to this sectionReal-World Applications#

The ability to track specific body parts or object features unlocks diverse applications across industries:

  • Sports Analytics: Coaches and athletes use pose estimation to analyze biomechanics. By tracking keypoints on joints, systems can calculate angles and velocities to improve technique in sports like golf, tennis, or sprinting. See how Ultralytics YOLO models track golf swings to provide actionable feedback.
  • Healthcare and Rehabilitation: Physical therapy platforms leverage keypoints to monitor patient exercises remotely. The system ensures patients maintain correct form during rehabilitation routines, reducing the risk of injury and tracking recovery progress.
  • Augmented Reality (AR): Social media filters and virtual try-on applications rely on facial keypoints (eyes, nose, mouth contours) to anchor digital masks or glasses securely to a user's face, maintaining alignment even as they move.
  • Driver Monitoring: Automotive safety systems track facial landmarks to detect signs of drowsiness or distraction, alerting the driver if their eyes close or their head position indicates a lack of attention.

Link to this sectionImplementing Keypoint Detection with YOLO26#

Using the Ultralytics Platform or the Python SDK, developers can easily implement keypoint detection. The following example demonstrates how to load a pre-trained YOLO26-pose model and run inference on an image to detect human skeletons.

from ultralytics import YOLO

# Load a pre-trained YOLO26 pose estimation model
model = YOLO("yolo26n-pose.pt")

# Run inference on an image
results = model("https://ultralytics.com/images/bus.jpg")

# Visualize the results showing detected keypoints and skeletons
for result in results:
    result.show()  # Display the image with keypoints drawn

    # Access keypoint coordinates (x, y, confidence)
    keypoints = result.keypoints.data
    print(f"Detected keypoints shape: {keypoints.shape}")

This simple workflow allows for the rapid deployment of sophisticated computer vision (CV) applications. For users looking to train their own custom keypoint models—for example, to detect specific points on industrial machinery or animal species—the Ultralytics Platform simplifies the process of data annotation and model training in the cloud.

Link to this sectionAdvanced Considerations#

Successfully deploying keypoint detection requires handling challenges like occlusion (when a body part is hidden) and diverse lighting conditions. Modern models address this through robust data augmentation during training, exposing the network to varied scenarios. Furthermore, integrating keypoints with object tracking algorithms allows for consistent identification of individuals over time in video streams, essential for applications like security or behavioral analysis.

Explore solutions

Real-time AI that works with your team

AI in Robotics

Power smarter machines with Ultralytics YOLO models. Vision AI in robotics drives autonomous navigation, perception, object tracking, and real-time control.
Learn more
Real-time AI that works with your team

AI in Logistics

Streamline logistics with Ultralytics YOLO models. Vision AI enables package inspection, sorting, vehicle tracking, and real-time warehouse safety monitoring.
Learn more
Real-time AI that works with your team

AI in Retail

Reimagine retail with Ultralytics YOLO models. Vision AI powers inventory tracking, shelf monitoring, queue management, and smarter customer insights.
Learn more
Real-time AI that works with your team

AI in Healthcare

Build healthcare solutions with Ultralytics YOLO models. Vision AI in healthcare powers faster medical imaging, smarter diagnostics, and patient monitoring.
Learn more
Real-time AI that works with your team

AI in Manufacturing

Optimize manufacturing with Ultralytics YOLO models. Vision AI drives quality control, defect detection, PPE compliance, and assembly line automation.
Learn more
Real-time AI that works with your operation

AI in Automotive

Apply computer vision in automotive with Ultralytics YOLO models. Vision AI elevates road safety, driver assistance, and vehicle automation for smarter roads.
Learn more
Real-time AI tailored to your operation

AI in Agriculture

Bring vision AI to smart agriculture with Ultralytics YOLO models. Power crop monitoring, livestock tracking, and precision farming for higher, smarter yields.
Learn more
Real-time AI that works with your team

AI in Robotics

Power smarter machines with Ultralytics YOLO models. Vision AI in robotics drives autonomous navigation, perception, object tracking, and real-time control.
Learn more
Real-time AI that works with your team

AI in Logistics

Streamline logistics with Ultralytics YOLO models. Vision AI enables package inspection, sorting, vehicle tracking, and real-time warehouse safety monitoring.
Learn more
Real-time AI that works with your team

AI in Retail

Reimagine retail with Ultralytics YOLO models. Vision AI powers inventory tracking, shelf monitoring, queue management, and smarter customer insights.
Learn more
Real-time AI that works with your team

AI in Healthcare

Build healthcare solutions with Ultralytics YOLO models. Vision AI in healthcare powers faster medical imaging, smarter diagnostics, and patient monitoring.
Learn more
Real-time AI that works with your team

AI in Manufacturing

Optimize manufacturing with Ultralytics YOLO models. Vision AI drives quality control, defect detection, PPE compliance, and assembly line automation.
Learn more
Real-time AI that works with your operation

AI in Automotive

Apply computer vision in automotive with Ultralytics YOLO models. Vision AI elevates road safety, driver assistance, and vehicle automation for smarter roads.
Learn more
Real-time AI tailored to your operation

AI in Agriculture

Bring vision AI to smart agriculture with Ultralytics YOLO models. Power crop monitoring, livestock tracking, and precision farming for higher, smarter yields.
Learn more
Real-time AI that works with your team

AI in Robotics

Power smarter machines with Ultralytics YOLO models. Vision AI in robotics drives autonomous navigation, perception, object tracking, and real-time control.
Learn more
Real-time AI that works with your team

AI in Logistics

Streamline logistics with Ultralytics YOLO models. Vision AI enables package inspection, sorting, vehicle tracking, and real-time warehouse safety monitoring.
Learn more
Real-time AI that works with your team

AI in Retail

Reimagine retail with Ultralytics YOLO models. Vision AI powers inventory tracking, shelf monitoring, queue management, and smarter customer insights.
Learn more
Real-time AI that works with your team

AI in Healthcare

Build healthcare solutions with Ultralytics YOLO models. Vision AI in healthcare powers faster medical imaging, smarter diagnostics, and patient monitoring.
Learn more
Real-time AI that works with your team

AI in Manufacturing

Optimize manufacturing with Ultralytics YOLO models. Vision AI drives quality control, defect detection, PPE compliance, and assembly line automation.
Learn more
Real-time AI that works with your operation

AI in Automotive

Apply computer vision in automotive with Ultralytics YOLO models. Vision AI elevates road safety, driver assistance, and vehicle automation for smarter roads.
Learn more
Real-time AI tailored to your operation

AI in Agriculture

Bring vision AI to smart agriculture with Ultralytics YOLO models. Power crop monitoring, livestock tracking, and precision farming for higher, smarter yields.
Learn more

Let's build the future of AI together!

Begin your journey with the future of machine learning