Philly
October 6, 2021, 2:36am
1
Good day guys,
I am trying to apply the same function to different data frames, I have a folder with approximately
900 frames from a video (jpegs) and want to apply the same function to all of them. The function
changes the brightness etc of the frames, which I then want to save as jpegs to proceed with my work.
Help would be so much appreciated as I cant find a solution.
Kind regards,
Phillip
Define the function, then read in and apply using one of the purrr functions.
Philly
October 6, 2021, 2:57am
3
thanks but I don't think this would apply to what I'm trying to do hear
Can you provide a reproducible example then?
A minimal reproducible example consists of the following items:
A minimal dataset, necessary to reproduce the issue
The minimal runnable code necessary to reproduce the issue, which can be run
on the given dataset, and including the necessary information on the used packages.
Let's quickly go over each one of these with examples:
Minimal Dataset (Sample Data)
You need to provide a data frame that is small enough to be (reasonably) pasted on a post, but big enough to reproduce your issue.
Let's say, as an example, that you are working with the iris data frame
head(iris)
#> Sepal.Length Sepal.Width Petal.Length Petal.Width Species
#> 1 5.1 3.5 1.4 0.…
system
Closed
October 27, 2021, 3:29am
5
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed. If you have a query related to it or one of the replies, start a new topic and refer back with a link.