---
title: extractKeypoints()
framework: createml
role: symbol
role_heading: Instance Method
path: createml/mlhandposeclassifier/datasource/extractkeypoints()
---

# extractKeypoints()

Extracts key points from video files if necessary.

## Declaration

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

## Return Value

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

## Discussion

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