---
title: "keypointsWithAnnotations(targetFrameRate:)"
framework: createml
role: symbol
role_heading: Instance Method
path: "createml/mlhandactionclassifier/datasource/keypointswithannotations(targetframerate:)"
---

# keypointsWithAnnotations(targetFrameRate:)

Generates a data table that contains a column for hand joint locations and a column of hand action annotations.

## Declaration

```swift
func keypointsWithAnnotations(targetFrameRate: Double = MLHandActionClassifier.__Defaults.targetFrameRate) throws -> MLDataTable
```

## Parameters

- `targetFrameRate`: The number of frames per second the method uses to extract body landmarks from the data source. This parameter has no effect if the data source is either: doc://com.apple.createml/documentation/CreateML/MLHandActionClassifier/DataSource/labeledKeypointsDataFrame(_:sessionIdColumn:labelColumn:featureColumn:) doc://com.apple.createml/documentation/CreateML/MLHandActionClassifier/DataSource/labeledKeypointsData(table:sessionIdColumn:labelColumn:featureColumn:)

## See Also

### Exporting a data source

- [labeledMedia()](createml/mlhandactionclassifier/datasource/labeledmedia().md)
- [videosWithAnnotations()](createml/mlhandactionclassifier/datasource/videoswithannotations().md)
- [stratifiedSplit(proportions:seed:labelColumn:)](createml/mlhandactionclassifier/datasource/stratifiedsplit(proportions:seed:labelcolumn:).md)
- [extractKeypoints(targetFrameRate:)](createml/mlhandactionclassifier/datasource/extractkeypoints(targetframerate:).md)
- [gatherAnnotatedFileNames()](createml/mlhandactionclassifier/datasource/gatherannotatedfilenames().md)
