grab_points: A helper function

View source: R/grab_points.R

grab_pointsR Documentation

A helper function

Description

This is a helper function to grab points, called from within pre_process. This function will return the locations of the image corners. If pre_processed is FALSE then the user much click on the corners using the automated workflow. If set to TRUE, then it will return the coners of the image file itself.

Usage

grab_points(path_imgs, pre_processed = FALSE)

Arguments

path_imgs

Path to the image files

pre_processed

Are photographs pre-processed such that image correction steps can be skipped? If FALSE, then user must pre-process images using DieTryings tools. If TRUE game board photographs must be cropped and unskewed. Some Android and IOS apps, like Tiny Scanner, provide a means of producing such photographs of the game boards at the time of data collection.

Value

A list containing an array of corner locations.


ctross/DieTryin documentation built on Sept. 8, 2024, 8:07 p.m.