get_image_details: This function returns details about the image, such as...

Description Usage Arguments Value

Description

This function returns details about the image, such as dimension, width, height, and image ratio.

Usage

1
get_image_details(input_path, detail = "All")

Arguments

input_path

(string) -> The file path for the image we want to return information of.

detail

(string) -> The name of attribute that the function will return. Default set to be 'All'. Available choices are: 'All', 'Dimension', 'Width', 'Height', and 'Aspect Ratio'.

Value

A data frame that has the detailed information about input image.


UBC-MDS/BeautyR documentation built on May 14, 2019, 11:02 p.m.