file_en_velocity: Compute en_velocity() for given CSV files generated using...

View source: R/file_en_velocity.R

file_en_velocityR Documentation

Compute en_velocity() for given CSV files generated using file_velocity()

Description

Compute en_velocity() for given CSV files generated using file_velocity().

Usage

file_en_velocity(file1, file2)

Arguments

file1

Name of first CSV file (*.csv) or path to file including filename. This file should contain the velocity for the x-axis, computed using velocity_x().

file2

Name of second CSV file (*.csv) or path to file including filename. This file should contain the velocity for the y-axis, computed using velocity_y().

start_from_zero

Determines if the output should be preceded with a row containing 0.

Examples

# Run en_velocity() for files "~/myvideo/myvideo_body25_velocity_x.csv"
# and "~/myvideo/myvideo_body25_velocity_y.csv"
file_en_velocity("~/myvideo/myvideo_body25_velocity_x.csv",
"~/myvideo/myvideo_body25_velocity_y.csv")

trettenbrein/OpenPoseR documentation built on April 22, 2022, 4:03 a.m.