Is there any way to take images in Numpy array form and load them into an ImageDataBunch?

If so, im not seeing it in the source code, at least in v1.

It seems all of the methods of loading images like from_folder(), from_df(), from_lists(), etc all require you to load image from file.

What if I want to perform image classification on faces that I detect from pictures? In that case, I would need to save these faces as files first and then load them into an ImageDataBunch object. If not, please enlighten me of any alternatives. Thanks.

1 Like