Contents

MLActionClassifier.DataSource.labeledFiles(at:)

The location of a folder that contains video files whose names you use to label corresponding actions.

Declaration

case labeledFiles(at: URL)

Discussion

Use this case to create a data source from a folder of all your sample video files. Name each file using the action’s label, followed by a period and an arbitrary string, followed by the file extension. For example, an exercise action classifier might have files named squat.3.mov, lunge.1.mov, lunge.2.mov, and so on.

See Also

Creating a data source