rotations {CropDetectR} | R Documentation |
Takes an image and rotates it by a number of degrees choosen by the user.
rotations(picture, degrees)
picture |
The image to be rotated. |
degrees |
The degrees of rotation until 180 (30 = every 30 degrees). |
The function takes in an image and rotates it by a number of degrees chosen by the user. It will keep rotating until it has reached the 360 degree limit and save the images into a list.
A list of pictures that have been rotated by x degrees each.
picture_list <- rotations(picture, 45)