Saving images

Saving images is very simple. It is only important to specify the full path. As in the preceding example, we will use pwd() to reference current directory:

imwrite(joinpath(pwd(), "cat-copy.png"), img)

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.