predictions(from:)
Generates a sequence of predictions for each video input.
Declaration
func predictions(from videos: [URL]) throws -> [[MLActionClassifier.Prediction]]Parameters
- videos:
An array of locations to videos you want the action classifier to analyze.
Return Value
A array of prediction arrays. The index of each inner array corresponds to the video index in the input array.