Previewing images

You have already learned to load, download, and save images. The only way to check the image itself would be to go to the project folder and open it from there.

The ImageView package solves this problem by previewing the image directly from Julia:

  using Images, ImageView  img = load("sample-images/cats-3061372_640.jpg");  imshow(img);

This will preview the image in a new window.

Get Hands-On Computer Vision with Julia now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.