Description Usage Arguments Details Value Examples
View source: R/crop_row_finder.R
Finds the x coordinates of the crop rows in the image.
1 | crop_row_finder(picture_list, ratio, final_ratio, intensity)
|
picture_list |
The list of rotated images originally from a single image. |
ratio |
The first strict ratio used to identify which rotation has the most vertical crop rows. |
final_ratio |
The less-strict ratio used on the best image after rotations to capture smaller potential crop rows. |
intensity |
The amount of smoothing of the image. |
This function is a combination of two previous functions best_rotation
and crop_lines
to find the best rotation and then map out the x coordinates of the crop rows in the image.
a list of x coordinates for the image on which the function was applied.
1 | crop_rows <- crop_row_finder(picture_list, 0.5, 0.05, 0.25)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.