Contents

extractKeypoints(targetFrameRate:)

Extracts key points from video files if necessary.

Declaration

func extractKeypoints(targetFrameRate: Double = MLHandActionClassifier.__Defaults.targetFrameRate) throws -> DataFrame

Parameters

  • targetFrameRate:

    The number of frames per second the method uses to extract body landmarks from the data source.

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.

See Also

Extracting key points