Hi! Is there any convenient way to exchange images between OpenCV (np.array) and Fastai (fastai.vision.image.Image)?
I’m working on an Image Points project where the inference results of the previous image are used to transform the next image with OpenCV. To do inference, I currently need to save the OpenCV image as a temporary .png file and read it with Fastai’s
open_image() for inference, and repeat the process for every image. This is very inefficient and I’d love to use
open_image() on a np.array. Any change it’s possible?