rotations {CropDetectR}R Documentation

Rotates an image by x degrees

Description

Takes an image and rotates it by a number of degrees choosen by the user.

Usage

rotations(picture, degrees)

Arguments

picture

The image to be rotated.

degrees

The degrees of rotation until 180 (30 = every 30 degrees).

Details

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.

Value

A list of pictures that have been rotated by x degrees each.

Examples

picture_list <- rotations(picture, 45)


[Package CropDetectR version 0.0.1 Index]