mediapipe2R.Rd
Once you collect data from Mediapipe, you can easily analyze them with that function after transforming them.
mediapipe2R(data, width, height, fps = 30, fig.height = 170, name)
data | A mediapipe type of data set |
---|---|
width | The width of the video |
height | The height of the video |
fps | The number of frames per second |
fig.height | The height of the figure in the video |
name | The name of the figure in the video |
A data set to be used with the MocapMineR package
data(gaetan_apchagi_mediapipe)
gaetan_apchagi <- mediapipe2R(gaetan_apchagi_mediapipe, width=1080, height=1920, name="Gaetan")