orient_files: Conform images to exif metadata

View source: R/adjust_rotation.R

orient_filesR Documentation

Conform images to exif metadata

Description

[Exif metadata](https://en.wikipedia.org/wiki/Exif) records the orientation of images. Before passing images to the handwriting API, you will want to make sure that the x and y axes are the way the picture-taker intended.

Usage

orient_files(files)

Arguments

files

paths to files

Details

This is going to be fairly slow, as it is reading and writing images to/from (temp)files, so at some point there should be some reading of metadata to find out whether it needs to be done or not.

Value

re-oriented files


antdurrant/gec.annotation documentation built on July 19, 2023, 5:13 a.m.