View source: R/file_video_index.R
file_video_index | R Documentation |
A wrapper for the OpenPoseR function video_index() that makes it possible to directly pass a directory name (i.e. path) to the function.
Can be used to use video_index() for a directory of video files and automatically saving the index to the specified input directory without manually storing and saving the video index data frame created by the OpenPoseR function.
file_video_index(videoPath, outputPath, fileType, recursive)
videoPath |
Path to the directory containing the video files to be indexed. |
outputPath |
Optional. Path to the directory where the outptu file should be saved. By default, the index file ("video_index.csv") will be saved in the specified input directory. |
fileType |
Optional. What video file type should be considered for indexing? Defaults to ".mp4". |
recursive |
Optional. Should video files in sub-directories be considered? If yes, set to TRUE. Defaults to FALSE. |
file_video_index("/home/user/my_stimulus_clips") file_video_index("/home/user/my_stimulus_clips"), fileType = ".avi", recursive = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.