display images on databricks notebook

177 views
Skip to first unread message

Keita Onabuta

unread,
Aug 13, 2018, 5:53:38 AM8/13/18
to DL-Pipelines-users
Hi experts,

Do you have any ideas to display images on Databricks Notebook ?

I imported images as DataFrame type as follows.

>from pyspark.ml.image import ImageSchema
>image_df = ImageSchema.readImages(sample_img_dir)

It works and display(image_df) display all images in the notebook.
But it doesn't work for display(image_df.head(1)).  Only display binary data of image.

Any comments would be appreciated.

Best regards,
Keita
allimages.PNG


oneimage.PNG

Reply all
Reply to author
Forward
0 new messages