6

我在 fast.ai 中以这种方式打开了图像:

 img = open_image(img_f)

如何使用cv2.imshow显示它?

4

1 回答 1

1

FastAi 已经使用这个包来处理图像。当您执行 open_image 函数时,请检查文档字符串:

def open_image(fn):
    """ Opens an image using OpenCV given the file path.
于 2019-06-25T08:50:34.593 回答