Load a JPEG image and crop it to a bounding box. Internal function to be called by image generator function.
loadImageResizeCrop(data, height = 299, width = 299, standardize = FALSE)
A Tensorflow image data generator.
a list with the first element being a path to an image file and the next four arguments being the bounding box coordinates.
the height the cropped image will be resized to.
the width the cropped image will be resized to.
standardize the image, TRUE or FALSE.