View source: R/acceleration_y.R
acceleration_y | R Documentation |
Compute acceleration for points on y-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_y(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_y(x, "body25")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.