MLActionClassifier.DataSource.directoryWithVideosAndAnnotation(at:annotationFile:videoColumn:labelColumn:startTimeColumn:endTimeColumn:)
The location of a directory of video files, and the location of an action annotation file.
Declaration
case directoryWithVideosAndAnnotation(at: URL, annotationFile: URL, videoColumn: String, labelColumn: String, startTimeColumn: String? = nil, endTimeColumn: String? = nil)Parameters
- at:
The location of a directory that contains video files.
- annotationFile:
The location of a JSON or CSV file with object annotations for the images.
- videoColumn:
The name of the column that contains the URLs to the video files.
- labelColumn:
The name of the column that contains the labels of the action the person demonstrates in the video file.
- startTimeColumn:
The name of the column that contains the action’s starting-time in the video file.
- endTimeColumn :
The name of the column that contains the action’s ending-time in the video file.