---
title: MLHandPoseClassifier.DataSource
framework: createml
role: symbol
role_heading: Enumeration
path: createml/mlhandposeclassifier/datasource
---

# MLHandPoseClassifier.DataSource

A hand pose classifier dataset that contains annotated images or hand joint location data.

## Declaration

```swift
enum DataSource
```

## Topics

### Creating a data source

- [MLHandPoseClassifier.DataSource.labeledDirectories(at:)](createml/mlhandposeclassifier/datasource/labeleddirectories(at:).md)
- [MLHandPoseClassifier.DataSource.labeledFiles(at:)](createml/mlhandposeclassifier/datasource/labeledfiles(at:).md)
- [MLHandPoseClassifier.DataSource.directoryWithImagesAndAnnotation(at:annotationFile:imageColumn:labelColumn:)](createml/mlhandposeclassifier/datasource/directorywithimagesandannotation(at:annotationfile:imagecolumn:labelcolumn:).md)
- [MLHandPoseClassifier.DataSource.labeledImageDataFrame(_:imageColumn:labelColumn:)](createml/mlhandposeclassifier/datasource/labeledimagedataframe(_:imagecolumn:labelcolumn:).md)
- [MLHandPoseClassifier.DataSource.labeledKeypointsDataFrame(_:sessionIdColumn:labelColumn:featureColumn:)](createml/mlhandposeclassifier/datasource/labeledkeypointsdataframe(_:sessionidcolumn:labelcolumn:featurecolumn:).md)
- [MLHandPoseClassifier.DataSource.labeledImageData(table:imageColumn:labelColumn:)](createml/mlhandposeclassifier/datasource/labeledimagedata(table:imagecolumn:labelcolumn:).md)
- [MLHandPoseClassifier.DataSource.labeledKeypointsData(table:sessionIdColumn:labelColumn:featureColumn:)](createml/mlhandposeclassifier/datasource/labeledkeypointsdata(table:sessionidcolumn:labelcolumn:featurecolumn:).md)

### Extracting keypoints

- [extractKeypoints()](createml/mlhandposeclassifier/datasource/extractkeypoints().md)

### Getting annotated file names

- [gatherAnnotatedFileNames()](createml/mlhandposeclassifier/datasource/gatherannotatedfilenames().md)

### Exporting a data source

- [labeledMedia()](createml/mlhandposeclassifier/datasource/labeledmedia().md)
- [imagesWithAnnotations()](createml/mlhandposeclassifier/datasource/imageswithannotations().md)
- [keypointsWithAnnotations()](createml/mlhandposeclassifier/datasource/keypointswithannotations().md)
- [stratifiedSplit(proportions:seed:labelColumn:)](createml/mlhandposeclassifier/datasource/stratifiedsplit(proportions:seed:labelcolumn:).md)

## See Also

### Supporting types

- [MLHandPoseClassifier.ModelParameters](createml/mlhandposeclassifier/modelparameters-swift.struct.md)
- [MLHandPoseClassifier.ImageAugmentationOptions](createml/mlhandposeclassifier/imageaugmentationoptions.md)
