loading an image using aws.s3, R on Databricks

Hi everyone,
I am actually an issue and I would like some help.
I am trying to load and image store in a s3 bucket to later attach it by mail.

s3_bucket <- "dev"
s3_image_key <- "images/image_1.jpeg"
s3_image_url <- paste0("s3://", s3_bucket, "/", s3_image_key)
image_df <- aws.s3::get_object(s3_image_url)

When I load I did :

image(image_df)

I got a graphics with points.

Could you please help me with this?

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.