T
T
Timebird2018-05-18 12:00:23
Python
Timebird, 2018-05-18 12:00:23

How to save multiple pictures in .npy?

There is a loop, at each iteration of which one picture from the folder with pictures is processed:

for file_name in os.listdir(images_set):
    img = imread(file_name)
    img = rgb2gray(img)

Required: push the processed image into .npy, and then the next image from the loop into the same .npy, and so on.
How to do it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question