Image is not displaying in Google Colab while using imshow()

前端 未结 5 1784
甜味超标
甜味超标 2020-12-09 11:48

I am working on a project which requires functions from OpenCV to plot images. I am trying to display image using the below code in Google Colab. But nothing shows up in the

5条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-09 12:11

    Google colab crashes if you try to display image using cv2.imshow() instead import from google.colab.patches import cv2_imshow and display using cv2_imshow()

提交回复
热议问题