censor_video | R Documentation |
This function inputs a video and censors a manually defined region.
censor_video(
video,
filename = NULL,
path = NULL,
automatic = TRUE,
rescale_rect = 1,
width = 100,
height = 100,
x = 100,
y = 100,
color = "black"
)
video |
The video to be modified |
filename |
The filename for the censored output video |
path |
The path to the output video |
automatic |
Whether to attempt automatic face detection ('automatic = TRUE' is default) |
rescale_rect |
Rescale rectangle by factor if 'automatic = TRUE' (default = 1) |
width |
The width of the rectangle (only for 'automatic = FALSE') |
height |
The height of the rectangle (only for 'automatic = FALSE') |
x |
The x coordinate of the rectangle (only for 'automatic = FALSE') |
y |
The y coordinate of the rectangle (only for 'automatic = FALSE') |
color |
The color of the rectangle |
The path to the censored video file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.