# \donttest{
dino_dir <- system.file("extdata", package = "stopmotion")
images <- read(dir = dino_dir)
# Manually record eye positions for each frame (e.g. using locator())
points <- data.frame(
frame = c(1L, 1L, 2L, 2L, 3L, 3L),
x = c(210, 390, 215, 388, 208, 392),
y = c(180, 182, 176, 179, 183, 181)
)
centre(images = images, points = points, reference = 1L, frames = 1:3)
# }
Run the code above in your browser using DataLab