View source: R/acceleration_x.R
acceleration_x | R Documentation |
Compute acceleration for points on x-axis for given data frame in OpenPoseR format according to the following formula: (((pixel at t1)-(pixel at t1-1))/((t1)-(t1-1)))/((t1)-(t1-1))
acceleration_x(data, model, fps = 25)
data |
A data frame with separate clumns for every points x, y, and c values (OpenPoseR format). |
model |
Specify which tracking model generated the data. Supply either body25, hands, or face. |
fps |
Frames per second of the original video file. Defaults to 25. |
acceleration_x(x, "body25")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.