plot_frontal | R Documentation |
Creates a simple heatmap (using ggplot2) of points in a body-pose model (x,y).
plot_frontal(plotData, width = 720, height = 576, backgroundImage = NULL, quadrantLabels = TRUE, quadrantLabelSize = 12, binSize = 125)
plotData |
Data frame containing x and y coordinates of tracked points in OpenPoseR format, that is as generated from OpenPose data by create_csv(). |
width |
Width of video from which data will be plotted. Defaults to 720 pixels. |
height |
height of video from which data will be plotted. Defaults to 576 pixels. |
backgroundImage |
Pass an alternative packground image to the function, if the default one is not suitable for your purpose. (Read images using magick::image_read() function.) |
quadrantLabels |
Display quadrant labels. Defaults to TRUE. |
quadrantLabelSize |
Change size of quadrant labels. Default is 12. |
binSize |
Determine size of bins in plot. Default is 125. |
plot_frontal(data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.