<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateML",
  "identifier" : "/documentation/CreateML/MLHandPoseClassifier/DataSource/extractKeypoints()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Create ML"
    ],
    "preciseIdentifier" : "s:8CreateML20MLHandPoseClassifierV10DataSourceO16extractKeypoints07TabularF00F5FrameVyKF"
  },
  "title" : "extractKeypoints()"
}
-->

# extractKeypoints()

Extracts key points from video files if necessary.

```
func extractKeypoints() throws -> DataFrame
```

## Return Value

A data frame that contains a column for hand joint locations and a column of hand action
annotations.

## Discussion

If the data source already contains keypoints, this method just renames the data frame columns to the
defaults.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)